We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mmcv 2.0.1
from mmcv.utils import (IS_NPU_AVAILABLE, _BatchNorm, )
In the mmcv1.x , the method of _BatchNorm is in the mmcv.utils,but now in the mmcv 2.x ,it does not exist,and i can't find it in the mmengine
ImportError: cannot import name 'BatchNorm' from 'mmcv.utils' (D:\Tool\Anaconda\Anaconda\envs\openmmlab\lib\site-packages\mmcv\utils_init.py)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisite
Environment
mmcv 2.0.1
Reproduces the problem - code sample
from mmcv.utils import (IS_NPU_AVAILABLE, _BatchNorm,
)
Reproduces the problem - command or script
In the mmcv1.x , the method of _BatchNorm is in the mmcv.utils,but now in the mmcv 2.x ,it does not exist,and i can't find it in the mmengine
Reproduces the problem - error message
ImportError: cannot import name 'BatchNorm' from 'mmcv.utils' (D:\Tool\Anaconda\Anaconda\envs\openmmlab\lib\site-packages\mmcv\utils_init.py)
Additional information
In the mmcv1.x , the method of _BatchNorm is in the mmcv.utils,but now in the mmcv 2.x ,it does not exist,and i can't find it in the mmengine
The text was updated successfully, but these errors were encountered: