After installing and checking mmcv and mmdet, (note: the two versions correspond to each other),I try to follow the usage steps on github:sh scripts/train_local.sh 8
However, the following problems occurred:ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/lib/python3.7/site-packages/mmcv/cnn/init.py)
After that, I changed several other mmcv or mmdet versions, but it still didn’t work.
Hi, guys.
After installing and checking mmcv and mmdet, (note: the two versions correspond to each other),I try to follow the usage steps on github:sh scripts/train_local.sh 8
However, the following problems occurred:ImportError: cannot import name 'MODELS' from 'mmcv.cnn' (/opt/conda/lib/python3.7/site-packages/mmcv/cnn/init.py)
After that, I changed several other mmcv or mmdet versions, but it still didn’t work.
I am looking forward to your reply.
Best wish,
Thank you.