Tried to train the model but got the mmcv error
No module named 'mmcv._ext'
mmcv library is already installed and imported
mmcv version = 1.4.0
Cuda version = 10.0
Any suggestions to fix the issue??
I have face same issue with mmcv-full [v1.6.0], mmdet [2.24.0], torch [1.9.0] + CUDA [11.1] and I cant use another version of mmcv-full due to certain dependencies. If you are stuck like me and want a very raw solution.
It is found that the missing module mmcv._ext is a installation generated file '/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so'. Somehow, mmcv-full[1.6.0] pip/mim installation didn't generate me this file. So I had to install mmcv-full[1.7.2] which generated this specific _ext.cpythonblablablah file and then I copied it to mmcv-full[1.6.0] installation folder and am using it just fine.
Did you follow the installation guideline to install mmedit?
You can try the following steps to fix:
https://github.com/open-mmlab/mmdetection/issues/3271
or try