Skip to content
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

Improved image tests #3

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Improved image tests #3

merged 1 commit into from
Nov 17, 2023

Conversation

RunDevelopment
Copy link
Member

Changes:

  • Ignore torch deprecation warnings.
  • Renamed some functions.
  • assert_image_inference now checks that the model output channels and scale are correct.
  • assert_image_inference now writes inference outputs to disk (if different or non-existent) with the --snapshot-update flag, just like other snapshots.

@joeyballentine joeyballentine merged commit 16ccdae into image-tests Nov 17, 2023
7 checks passed
@joeyballentine joeyballentine deleted the image-test-impr branch November 17, 2023 20:15
RunDevelopment added a commit that referenced this pull request Nov 17, 2023
* Porting my changes to the new repo

* rename folders

* Pass in enum of images to test

* Add back opencv to test deps

* install test deps for pyright

* Improved image tests (#3)

---------

Co-authored-by: Michael Schmidt <msrd0000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants