You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from mmcv.cnn import MODELS as MMCV_MODELS
from mmcv.utils import Registry
Reproduces the problem - command or script
File "/home/mmyolo/mmyolo/models/builder.py", line 4, in
from mmcv.cnn import MODELS as MMCV_MODELS
ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/envs/wyh-yolo/lib/python3.8/site-packages/mmcv/cnn/init.py)
Reproduces the problem - error message
ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/envs/wyh-yolo/lib/python3.8/site-packages/mmcv/cnn/init.py)
Additional information
dont know
The text was updated successfully, but these errors were encountered:
Prerequisite
Environment
pytorch 1.13.0+cu117
mmcv 2.0.0.rc4
Reproduces the problem - code sample
from mmcv.cnn import MODELS as MMCV_MODELS
from mmcv.utils import Registry
Reproduces the problem - command or script
File "/home/mmyolo/mmyolo/models/builder.py", line 4, in
from mmcv.cnn import MODELS as MMCV_MODELS
ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/envs/wyh-yolo/lib/python3.8/site-packages/mmcv/cnn/init.py)
Reproduces the problem - error message
ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/envs/wyh-yolo/lib/python3.8/site-packages/mmcv/cnn/init.py)
Additional information
dont know
The text was updated successfully, but these errors were encountered: