Skip to content

Validate against expected files on videos #6077

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

Merged
merged 3 commits into from
May 24, 2022

Conversation

datumbox
Copy link
Contributor

This PR adds similar tests to the video classification models as the ones we have for images.

Copy link
Contributor

@jdsgomes jdsgomes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks for the improvement. When this is green fell free to merge.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Out of curiosity do we know how long these new tests take?

@datumbox
Copy link
Contributor Author

datumbox commented May 24, 2022

@NicolasHug They are fast, like few seconds on my machine. This PR should not increase the execution time. For some reason, we used to execute all the expensive parts of the tests such as producing predictions and jit-scripting but we didn't compare the output against expected files. Not sure what was the decision behind this but as I'm adding a new model I want to make sure I wont accidentally break the implementation.

@datumbox datumbox merged commit 69ce452 into pytorch:main May 24, 2022
@datumbox datumbox deleted the tests/video_tests branch May 24, 2022 11:40
facebook-github-bot pushed a commit that referenced this pull request Jun 1, 2022
Summary:
* Validate against expected files on videos

* Plus tests for autocast

Reviewed By: NicolasHug

Differential Revision: D36760920

fbshipit-source-id: c9601c794b9b4ea8ad7c00641b8c4fbfb1d0725c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants