Closed farshid-mi closed 4 years ago
I met the same problem, even _ext.*.so
is in mmcv/
If you install it via pip install mmcv
, the lite version is installed, which does not contain mmcv._ext
.
Following the README
, I installed it via MMCV_WITH_OPS=1 pip install -e .
. The _ext.*.so
is generated, but can not be imported.
thanks for your response,after restarting runtime i executed commands below:
!pip install mmcv-full
!git clone https://github.com/open-mmlab/mmdetection.git
%cd mmdetection
!pip install -r requirements/build.txt
!pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
!pip install -v -e . # or "python setup.py develop"
and don't have that problem anymore! tnx again.
same problem
@liuzili97 @farshid-mi
I solved this problem I met yesterday. Maybe you can check the result of pip list
.
I install mmcv-full
manually and then install mmdetection3d
. However, mmdeetection3d
will install mmcv
again automatically. Thus there are two versions of mmcv
. Just pip uninstall mmcv
and this problem is fixed.
If you install it via
pip install mmcv
, the lite version is installed, which does not containmmcv._ext
.
so how to install it??
hi,i'm new to the mmdetection and after using it for one day a few days ago,it seems that from last updates to mmdetection repository,installing it on colab is not the same! while commands below:
worked perfectly fine few days ago,now i get these logs from executing above:
which are different from the past. also after installing it like above,print_config functionality works fine,but train functionality and commands like:
from mmdet.apis.inference import show_result_pyplot,init_detector,inference_detector
return:
so,what is the problem?is it installing correctly? anything that i'm missing?!
thank u in advance!