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

ImportError: No module named coco_voc #6

Open
tamkaho opened this issue Apr 24, 2018 · 4 comments
Open

ImportError: No module named coco_voc #6

tamkaho opened this issue Apr 24, 2018 · 4 comments

Comments

@tamkaho
Copy link

tamkaho commented Apr 24, 2018

In line 126 of utils.py, when trying to load coco_valid1_eval.pkl, it returns an error message

"ImportError: No module named coco_voc"

What version of pickle have you got?

@gujiuxiang
Copy link
Owner

Maybe you should import "coco_voc.py"

@liuxx2016
Copy link

hello, i have the same problem. Did you @tamkaho @gujiuxiang solve it ? looking for your reply

@Cranooooooo
Copy link

Here is my solution:

  1. delete ''coco_voc.py'' in this repo.
  2. copy ''coco_voc.py'' (in https://github.com/s-gupta/visual-concepts) into this repo.
  3. Install coco-api in this repo.
  4. copy folder ''pycocotools'' to ./
  5. rename ''pycocotools'' to ''pycoco''

@ynuwm
Copy link

ynuwm commented May 22, 2020

Thank you @Cranooooooo, it works.

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

5 participants