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

accuracy = sum(correct)/n_ground_truth : ZeroDivision Error: Division by Zero #279

Open
sebyo opened this issue Jun 19, 2023 · 2 comments
Open

Comments

@sebyo
Copy link

sebyo commented Jun 19, 2023

I got this error while trying to evaluate top-1 video accuracy of a recognition result.I used the same script provided
python -m util_scripts.eval_accuracy ~/data/kinetics.json ~/data/results/val.json --subset val -k 1 --ignore
does anyone have any idea how to solve this problem ( from my understanding it's unable to load the groundtruth) ?
ps: for the training I used the UCF101.

@sebyo sebyo changed the title accuracy = sum(correct)/n_ground_truth : accuracy = sum(correct)/n_ground_truth : ZeroDivision Error: Division by Zero Jun 19, 2023
@9bxlue
Copy link

9bxlue commented Mar 23, 2024

hello there,i yet meet the same questions,please tell me how do you solve?

@sebyo
Copy link
Author

sebyo commented Mar 25, 2024

@9bxlue just in the --subset change it to validation not val

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