JialeCao001 / SipMask

SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation (ECCV2020)
https://arxiv.org/pdf/2007.14772.pdf
MIT License
334 stars 54 forks source link

ModuleNotFoundError: No module named 'pycocotools.ytvos' #23

Closed hello-jinwoo closed 4 years ago

hello-jinwoo commented 4 years ago

Hi.

I followed the instruction to run the SipMask-VIS, following your readme (using docker build).

When I run test, "python tools/test_video.py configs/sipmask/sipmask_r50_caffe_fpn_gn_1x.py work_dir/sipmask_r50_caffe_1x.pth --out tmp.pkl --eval segm",

I got an error message " File "/workspace/sipmask/SipMask/SipMask-VIS/tools/../mmdet/core/evaluation/coco_utils.py", line 5, in from pycocotools.ytvos import YTVOS ModuleNotFoundError: No module named 'pycocotools.ytvos' "

I tried to clone the repository https://github.com/youtubevos/cocoapi, and install following the instruction of the youtubevos/cocoapi, but the problem have not been solved.

What should I do?

hello-jinwoo commented 4 years ago

I just solved the problem by adding ytvos.py and ytvoseval.py file into my package!

Foggor commented 4 years ago

Thank you very much