dimanche 18 octobre 2020 à 09:55

ModuleNotFoundError: No module named 'mmcv._ext'

Par 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 .

Libellés: machine_learning, pytorch

Comments

Please login to comment