-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] Pre-Trained MultiSport Spatio-Temporal Model -> KeyError: 'fps' #2877
Comments
Hi, did you find any ways to run this model ? |
Did you resolve it? I have the same problem |
@Abdulkadir19997 @dingshengqin For me the issue was solved by using
Note that the demo script is different, spatiotemporal models run with infer_spatiotemporal.py but spatiotemporal models don't run with demo_inferencer.py and neither script actually check the model type it just tries to run it it that is where the issues came from. As far as I remember after this I still had issues but they were more hands on and I was able to fix it to get it working. |
Thanks for your help @DrakkLord it works now! But the accuracy is weirdly low, by the issues did you mean that you did other things so that the acuracy got any way better ? Otherwise looks like I will train my custom model. |
It was about not running straight away, I didn't train a custom model I just moved on since the results were not suitable for the project I was working on |
@Abdulkadir19997 were you able to train your custom model? |
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
Describe the bug
According to the documentation here: https://mmaction2.readthedocs.io/en/latest/user_guides/inference.html all I need to do is set up an high-level class with a configuration and get an inference result, with recognition/tsn ( suggested in the install guide for testing ) it works as expected. When I wanted to test the Spatio Temporal - pre-trained multisport model it just gives an error which I don't understand. Code sample is another way I've tried it but maonly the shell script is the one I tried.
Reproduces the problem - code sample
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
The text was updated successfully, but these errors were encountered: