Skip to content
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: 'MultiScaleDeformableAttention' object has no attribute 'init_weight' #3

Open
michaelku1 opened this issue May 20, 2022 · 2 comments

Comments

@michaelku1
Copy link

As stated in the title.

@encounter1997
Copy link
Owner

Hi, I think this is caused by an incompatible version of mmcv. Please try mmdet==2.12.0 and mmcv==1.3.2 as stated in README.

@volgachen
Copy link

I found that in later versions of mmcv, this attribute has been renamed as init_weights.
Perhaps modify like this may help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants