-
Notifications
You must be signed in to change notification settings - Fork 465
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
[tests/onnx] Add onnx and model out check #1569
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1569 +/- ##
==========================================
+ Coverage 95.86% 95.96% +0.09%
==========================================
Files 163 163
Lines 7649 7655 +6
==========================================
+ Hits 7333 7346 +13
+ Misses 316 309 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find the output misleading: https://github.com/mindee/doctr/actions/runs/8875628926/job/24365456870?pr=1569
=========================== short test summary info ============================
SKIPPED [1] tests/pytorch/test_models_detection_pt.py:183: Output of db_mobilenet_v3_large:
Difference is 9.999999747378752e-06
SKIPPED [2] tests/pytorch/test_models_recognition_pt.py:116: too less memory
=========== 235 passed, 3 skipped, 30 warnings in 302.91s (0:05:02) ============
Value seems really tiny but it's a mean and not the maximum difference observed, as computed before.
Maybe you can write as message that the outputs are not element-wise equal within a tolerance and then provide this mean difference or return the max diff you observe between two arrays.
BTW, why change the results of this test as skipped
?
Yeah we can update the message :) Max diff is a good idea 👍 |
@odulcy-mindee missed to add 1 line xD Now you can approve and merge ^^ |
Great thanks @felixdittrich92 for this update. Really appreciate your help. |
This PR: