ava-dataset-tool icon indicating copy to clipboard operation
ava-dataset-tool copied to clipboard

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

Open nevinbaiju opened this issue 6 years ago • 1 comments

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.

nevinbaiju avatar Aug 05 '18 07:08 nevinbaiju

you are right!

Usernamezhx avatar Oct 09 '18 07:10 Usernamezhx