GAIA-vision / GAIA-det

A Transfer Learning System in Object Detection
Apache License 2.0
184 stars 14 forks source link

ImportError: cannot import name 'MODELS' from 'mmcv.cnn' #5

Open world-liu opened 3 years ago

world-liu commented 3 years ago

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.

JrPeng commented 3 years ago

I'm very sorry that I just noticed your issues. Could you mind show the full error log?