Open
AhmedNageh08
opened this issue 4 years ago
•
5 comments
i followed the instructions in readme here
https://github.com/open-mmlab/mmfashion/tree/master/configs/fashion_parsing_segmentation
And i run pip install -r requirements.txt before setup
when try to run
python /mmfashion/mmdetection/tools/demo.py
i get this error
Traceback (most recent call last):
File "/content/mmfashion/mmdetection/tools/demo.py", line 3, in
from mmdet.apis import inference_detector, init_detector, show_result
File "/usr/local/lib/python3.6/dist-packages/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/usr/local/lib/python3.6/dist-packages/mmdet/apis/inference.py", line 7, in
from mmcv.ops import RoIPool
File "/usr/local/lib/python3.6/dist-packages/mmcv/ops/init.py", line 1, in
from .bbox import bbox_overlaps
File "/usr/local/lib/python3.6/dist-packages/mmcv/ops/bbox.py", line 3, in
ext_module = ext_loader.load_ext('_ext', ['bbox_overlaps'])
File "/usr/local/lib/python3.6/dist-packages/mmcv/utils/ext_loader.py", line 11, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'mmcv._ext'
anyhelp and thanks in advance
i tried mmcv_full and now i get this error
Traceback (most recent call last):
File "/content/mmfashion/mmdetection/tools/demo.py", line 3, in
from mmdet.apis import inference_detector, init_detector, show_result
File "/usr/local/lib/python3.6/dist-packages/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/usr/local/lib/python3.6/dist-packages/mmdet/apis/inference.py", line 7, in
from mmcv.ops import RoIPool
File "/usr/local/lib/python3.6/dist-packages/mmcv/ops/init.py", line 1, in
from .bbox import bbox_overlaps
File "/usr/local/lib/python3.6/dist-packages/mmcv/ops/bbox.py", line 3, in
ext_module = ext_loader.load_ext('_ext', ['bbox_overlaps'])
File "/usr/local/lib/python3.6/dist-packages/mmcv/utils/ext_loader.py", line 11, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/local/lib/python3.6/dist-packages/mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceISt7complexIdEEEPKNS_6detail12TypeMetaDataEv
i am not sure where i can get the checkpoint 'checkpoint/resnet50.pth', which seems needed in 'mask_rcnn_r50_fpn_1x.py' as enclosed.
hopes some suggestions. Many thanks.