-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Cyclic depedency causes KeyError: 'ConvWS is already registered in conv layer' #3249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Temporary fix: modify mmdet/ops/conv_ws.py and add force=True to the decorator arguments, i.e.
|
Hi @namheegordonkim
|
f74066357
added a commit
to f74066357/mmdetection_v2.2
that referenced
this issue
Jul 10, 2020
The issue seems to be resolved. Feel free to reopen it if you have any further questions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
Any script using import statements with
mdet.apis
raises KeyError in mmcv's registry.py, which safeguards against duplicate custom PyTorch modules from being registered. Essentially, ConvWS and ConvAWS modules are being registered more than once.Reproduction
No
N/A
Environment
python mmdet/utils/collect_env.py
to collect necessary environment infomation and paste it here.Does not run due to error.
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
The text was updated successfully, but these errors were encountered: