ava-dataset-tool
ava-dataset-tool copied to clipboard
KeyError: 0 File "extract_keyframe.py", line 107
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.
you are right!