1.
Hi, I am trying to run the demo of fashion segmentation, but I get the error below.
I installed mmcv with
''' pip install mmcv '''
so I have mmcv in my environment.
Maybe I have to use different version of mmcv?
I am currently using mmcv 0.6.2
2.
I saw another issue saying that I should download the mmdection of version 1.2,not 2.0 .
Could you let me know how to do that?
One thing I did is to go to '/mmdetection' and run '''python setup.py develop'''
[The error message]
~ $ python mmdetection/tools/demo.py --configs configs/fashion_parsing_segmentation/mask_rcnn_r50_fpn_1x.py
Traceback (most recent call last):
File "mmdetection/tools/demo.py", line 3, in
from mmdet.apis import inference_detector, init_detector, show_result
File "/workspace/fashion-seg/mmdetection/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/workspace/fashion-seg/mmdetection/mmdet/apis/inference.py", line 12, in
from mmdet.models import build_detector
File "/workspace/fashion-seg/mmdetection/mmdet/models/init.py", line 3, in
from .bbox_heads import * # noqa: F401,F403
File "/workspace/fashion-seg/mmdetection/mmdet/models/bbox_heads/init.py", line 3, in
from .double_bbox_head import DoubleConvFCBBoxHead
File "/workspace/fashion-seg/mmdetection/mmdet/models/bbox_heads/double_bbox_head.py", line 2, in
from mmcv.cnn.weight_init import normal_init, xavier_init
ModuleNotFoundError: No module named 'mmcv.cnn.weight_init'
1. Hi, I am trying to run the demo of fashion segmentation, but I get the error below. I installed mmcv with ''' pip install mmcv ''' so I have mmcv in my environment. Maybe I have to use different version of mmcv? I am currently using mmcv 0.6.2
2. I saw another issue saying that I should download the mmdection of version 1.2,not 2.0 . Could you let me know how to do that? One thing I did is to go to '/mmdetection' and run '''python setup.py develop'''
[The error message] ~ $ python mmdetection/tools/demo.py --configs configs/fashion_parsing_segmentation/mask_rcnn_r50_fpn_1x.py Traceback (most recent call last): File "mmdetection/tools/demo.py", line 3, in
from mmdet.apis import inference_detector, init_detector, show_result
File "/workspace/fashion-seg/mmdetection/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/workspace/fashion-seg/mmdetection/mmdet/apis/inference.py", line 12, in
from mmdet.models import build_detector
File "/workspace/fashion-seg/mmdetection/mmdet/models/init.py", line 3, in
from .bbox_heads import * # noqa: F401,F403
File "/workspace/fashion-seg/mmdetection/mmdet/models/bbox_heads/init.py", line 3, in
from .double_bbox_head import DoubleConvFCBBoxHead
File "/workspace/fashion-seg/mmdetection/mmdet/models/bbox_heads/double_bbox_head.py", line 2, in
from mmcv.cnn.weight_init import normal_init, xavier_init
ModuleNotFoundError: No module named 'mmcv.cnn.weight_init'