-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
syncBN 'super' object has no attribute '_specify_ddp_gpu_num' #2171
Comments
Could you check whether |
I just check as follows: |
Hi, this error had been resolved since v1.3.9 so you can upgrade your mmcv to v1.3.9 or higher with the following command pip install mmcv-full==1.3.9 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html |
But my current codebase is from mmseg which has assert clause to check the mmcv version to be from 1.1.4 to 1.3.0 in its init.py.
Thus if I update mmcv to 1.3.9, I need to remove the version check. Will remove the version assert clause impact the running of the code base? |
Got it. You also can refer to #1138 to fix the error you met. |
Hi, I notice that you fixed this bug at #1138. But I still encounter this when I run my code. I install pytorch and mmcv-full through
The bug is as follows:
My env:
Cuda=11.1.1
pytorch=1.9.0
mmcv=1.3.0
Thank you for help!
The text was updated successfully, but these errors were encountered: