Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hello-jinwoo opened this issue Nov 3, 2020 · 2 comments
Closed

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

hello-jinwoo opened this issue Nov 3, 2020 · 2 comments

Comments

@hello-jinwoo
Copy link

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
Copy link
Author

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

@Foggor
Copy link

Foggor commented Nov 23, 2020

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants