You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im Currently working on YoloWorld which is built on mmdet and mmyolo. I have added mytransform.py file custom module in the config file as mentioned below,
Is CustomResize registered with the decorator in the same pattern as seen in transforms.py?
The configs are python and run in a typical python procedural manner when loaded. In other words, loading a config is basically running the python within. Any variables created in the config that depend on test_pipeline are already created with the original version when it is loaded.
Please give a bit more detail on why the config needs to be patched in test.py rather than before it is loaded.
Im Currently working on YoloWorld which is built on mmdet and mmyolo. I have added mytransform.py file custom module in the config file as mentioned below,
config.py
Here
mytransform.py
has the classCustomResize
.Custom Module (
mytransform.py
) works when I manually make these changes in the config.py,But it is not working, when I append this
dict(type='CustomResize',severity=3)
to the test_pipeline list from test.py as mentioned below,tools/test.py
And I could notice the changes made when the cfg is printed during the run.
Please look into the issue on how to modify the custom modules parameters in the config file from the main.py/test.py/command-line.
Thanks !
The text was updated successfully, but these errors were encountered: