BMN data preparation: extract features of my own dataset encountered the issue:KeyError: 'pred_scores' #2838
Unanswered
PopGreen69
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to train BMN on my own dataset.
For the data preparation part, when I followed step 6 of the tutorial to extract RGB features, I got an error as below:
Traceback (most recent call last):
File "C:\Users\LC\mmaction2\tools\misc\clip_feature_extraction.py", line 266, in
main()
File "C:\Users\LC\mmaction2\tools\misc\clip_feature_extraction.py", line 262, in main
split_feats(args)
File "C:\Users\LC\mmaction2\tools\misc\clip_feature_extraction.py", line 234, in split_feats
total_feats = [sample['pred_scores']['item'] for sample in total_feats]
File "C:\Users\LC\mmaction2\tools\misc\clip_feature_extraction.py", line 234, in
total_feats = [sample['pred_scores']['item'] for sample in total_feats]
KeyError: 'pred_scores'
Does anyone know how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions