-
Notifications
You must be signed in to change notification settings - Fork 150
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
Testing from Video input #13
Comments
Right now, the input is a folder of frames corresponding to a video as in here. Then we evenly sample 25 frames from the video and average the prediction results. If you want to do online testing (like streaming video), I suggest you look into this file, especially line 78. For example, you can have a buffer to store the incoming frames using VideoCapture. Whenever you have 25 frames, you make them into a batch like in line 78, and give it to the model for prediction. Hope this helps. |
Can i get your trained model and evaluate it UCF101 to generate results |
@taimur99 Sure, but I didn't quite understand your question. I think I already shared my trained models for UCF101 split1 in this repo, both VGG16 and ResNet152 models. And I also share the test script to generate the results. No matter you want to test on UCF101, or test it on any video, or use them as feature extractors, you can just modify the test script a little bit to get what you want. Hope this helps. |
Okay, Thanks |
How do I test it realtime or any video as an input using VideoCapture?
The text was updated successfully, but these errors were encountered: