-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
torch.nn.modules.module.ModuleAttributeError: MaskRCNN: 'Sequential' object has no attribute 'init_weights' #6808
Comments
Could you provide your mmcv version? And which config did you use? |
my base model is base = '.mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py' |
It seems that your mmdetection version 2.11 has conflicts with the latest mmcv. The weight initializing was changed after #4750. Try to upgrade your mmdetection version. The master branch is 2.19.1 now. Or downgrade your mmcv version. |
It still would be |
I found it's a mistake form my config file |
When I training the model which type is maskrcnn, the error likes title was encouraged, dose anyone knows what's going on? or have met this erro before?
The problem seems like in mmcv.
The Traceback is:
ps: I haven't modified the test_cfg in my own config.
The text was updated successfully, but these errors were encountered: