Sonntag 18 Oktober 2020 um 09:55

ModuleNotFoundError: No module named 'mmcv._ext'

Von Eric Antoine Scuccimarra

ModuleNotFoundError: No module named 'mmcv._ext'

If you are getting this error when trying to run the latest version of mmdet with the latest version of mmcv (installed via pip), this solves the problem 
pip uninstall mmcv mmcv-full
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
MMCV_WITH_OPS=1 pip install -e .

Etiketten: machine_learning, pytorch

Comments

Please login to comment

    reduslim
Oct 31, 2020 at 09:43 am

<a href="https://www.facebook.com/Reduslim-101958461562598/">reduslim</a>