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

Evaluate error #5

Closed
peterWon opened this issue Dec 2, 2016 · 5 comments
Closed

Evaluate error #5

peterWon opened this issue Dec 2, 2016 · 5 comments

Comments

@peterWon
Copy link

peterWon commented Dec 2, 2016

Hello, yunjey, thanks a lot for your nice work! I got a problem when I run 'train.py', at the line of 'scores = evaluate(data_path='./data', split='val', get_scores=True)', raised a error like this:
default
I'm new to this field, I'll very appreciate it if you can give some advice. Thank you!

@yunjey
Copy link
Owner

yunjey commented Dec 2, 2016

Did you change the file storage path?
For evaluation, you need to have data/val/val.references.pkl and data/val/val.candidate.captions.pkl.

@peterWon
Copy link
Author

peterWon commented Dec 2, 2016

I just checked,they are both there.
What makes me confused is that I have set the parameter of self.print_bleu = kwargs.pop('print_bleu', False) as default, but it still ran into that evaluate part .

@peterWon
Copy link
Author

peterWon commented Dec 2, 2016

I find that the first step is to copy the project-coco-caption,I just coped the file folder 'pycocoevalcap' to the path ./core, is that work or is this where the problem is?
Thanks!

@yunjey
Copy link
Owner

yunjey commented Dec 2, 2016

You have to clone pycocoevalcap and this repo(show-attend-and-tell-tensorflow) in same directory.

@yunjey yunjey closed this as completed Jan 22, 2017
@InaKhandelwal
Copy link

I have cloned the repositories as mentioned but still I am facing the above error. What can be the problem?

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