-
Notifications
You must be signed in to change notification settings - Fork 187
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: 'test_mode' #249
Comments
The --config parameter in demo/demo_skeleton.py is default='configs/rgbpose_conv3d/rgbpose_conv3d.py', and the --checkpoint parameter is default='https://download.openmmlab.com/mmaction/pyskl/ckpt/ rgbpose_conv3d/rgbpose_conv3d.pth' Run the Python demo/demo_skeleton.py demo/ntu_sample.avi demo/demo.mp4 command line and find an error KeyError: 'test_mode' |
The code from lines 258 to 265 of demo/demo_skeleton.py is modified as follows:
and pyskl/pyskl/apis/inference.py line 173 deleted
|
Traceback (most recent call last):
File "demo/demo_skeleton.py", line 314, in
main()
File "demo/demo_skeleton.py", line 293, in main
results = inference_recognizer(model, fake_anno)
File "/root/pyskl/pyskl/apis/inference.py", line 163, in inference_recognizer
data = test_pipeline(data)
File "/root/pyskl/pyskl/datasets/pipelines/compose.py", line 41, in call
data = t(data)
File "/root/pyskl/pyskl/datasets/pipelines/multi_modality.py", line 65, in call
if results['test_mode']:
KeyError: 'test_mode'
The text was updated successfully, but these errors were encountered: