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

How to evaluate DSTC7? #15

Open
Zhouziyi828 opened this issue Sep 12, 2023 · 3 comments
Open

How to evaluate DSTC7? #15

Zhouziyi828 opened this issue Sep 12, 2023 · 3 comments

Comments

@Zhouziyi828
Copy link

Could you please tell me how to use the github link to evaluate DSTC7?

@Chenrj233
Copy link
Owner

Hello, the github link contains the data and introduction of the DSTC7-AVSD task. Firstly, you need to replace UNDISCLOSED in the test data set with the answer predicted by the model, and then use the evaluation script to get the metrics.

@Zhouziyi828
Copy link
Author

Thanks for your reply.
But when I ran the ./dstc7avsd_eval.sh sample/baseline_i3d_rgb-i3d_flowh.json I found an error:

sentences = '\n'.join([c['caption'].replace('\n', ' ') for k, v in list(captions_for_image.items()) for c in v])

AttributeError: 'NoneType' object has no attribute 'replace'

It seems that it is because that the 'caption' annotations are not included in the result file: sample/baseline_i3d_rgb-i3d_flowh.json.
Did you have the same problem?

@Chenrj233
Copy link
Owner

We did not encounter this issue during the evaluation. It's possible that your environment may differ from the requirements specified in dstc7avs_eval README. We recommend creating a new virtual environment to run the evaluation script.

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