youtubevos / MaskTrackRCNN

MaskTrackRCNN for video instance segmentation based on mmdetection
Apache License 2.0
431 stars 75 forks source link

ImportError: cannot import name 'parallel_test' #42

Closed Dorothylyly closed 3 years ago

Dorothylyly commented 3 years ago

when I use "python3 tools/test_video.py configs/masktrack_rcnn_r50_fpn_1x_youtubevos.py ./epoch_12.pth --out ./output --eval segm" to run the code. I got this error, but I have already installed 'mmcv' package.

I have no idea about this, could you please tell me what should I do?

Dorothylyly commented 3 years ago

the problem is : Traceback (most recent call last): File "tools/test_video.py", line 5, in <module> from mmcv.runner import load_checkpoint, parallel_test, obj_from_dict ImportError: cannot import name 'parallel_test'

Dorothylyly commented 3 years ago

solved by installing mmcv == 0.2.0

zhw2020913 commented 2 years ago

有0.2.0版本?