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

No module named pyciderevalcap.ciderD.ciderD #19

Open
youngboy52 opened this issue Jul 1, 2019 · 6 comments
Open

No module named pyciderevalcap.ciderD.ciderD #19

youngboy52 opened this issue Jul 1, 2019 · 6 comments

Comments

@youngboy52
Copy link

The original code:
import sys
sys.path.append("cider")
from pyciderevalcap.ciderD.ciderD import CiderD
sys.path.append("AI_Challenger/Evaluation/caption_eval")

I have added coco-caption into my current dir, however, I cannot import module pyciderevalcap.ciderD.ciderD. How to load this module?

@ruotianluo
Copy link
Owner

you need to clone https://github.com/ruotianluo/cider

@youngboy52
Copy link
Author

Thank you for your help! Sorry to disturb you again about the issue "No such file or directory: log_dense_box_bn/infos_dense_box_bn.pkl“. I have referred to its solution, but I still be confused. Could you tell me more details about it.

@ruotianluo
Copy link
Owner

create a directory called log_dense_box_bn ?

@youngboy52
Copy link
Author

I had created a same directory, but it doesn't work. Do I miss some features, like infos_dense_box_bn.pkl?

@ruotianluo
Copy link
Owner

It should be created automatically during training.

@mzh1996
Copy link

mzh1996 commented Mar 6, 2020

Thank you for your help! Sorry to disturb you again about the issue "No such file or directory: log_dense_box_bn/infos_dense_box_bn.pkl“. I have referred to its solution, but I still be confused. Could you tell me more details about it.

This is because there is another bug above this.

I advise you to fix the issue in this page first:
ruotianluo/ImageCaptioning.pytorch#49
To solve this, you need to modify the dataloader.py (in the root directory) as ruotianluo/ImageCaptioning.pytorch#49 (comment) .

Then you will find your problem won't exist!

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

3 participants