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

KeyError: 0 File "extract_keyframe.py", line 107 #1

Open
nevinbaiju opened this issue Aug 5, 2018 · 1 comment
Open

KeyError: 0 File "extract_keyframe.py", line 107 #1

nevinbaiju opened this issue Aug 5, 2018 · 1 comment

Comments

@nevinbaiju
Copy link

nevinbaiju commented Aug 5, 2018

The following line of code contains the wrong key for reading the action ID from the ava_train_v2.1.csv
from here

action_string = action_name[int(anno_data[idx][-1])]

However changing that to,

action_string = action_name[int(anno_data[idx][6])]

will solve the problem.

@Usernamezhx
Copy link

you are right!

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