forked from pytorch/vision
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flakiness on detection tests (pytorch#2966)
* Simplify the ACCEPT=True logic in assertExpected(). * Separate the expected filename estimation from assertExpected * Unflatten expected values. * Assert for duplicate scores if primary check fails. * Remove custom exceptions for algorithms and add a compact function for shrinking large ouputs. * Removing unused variables. * Add warning and comments. * Re-enable all autocast unit-test for detection and marking the tests as skipped in partial validation. * Move test skip at the end. * Changing the warning message.
- Loading branch information
1 parent
05e88ee
commit f6b2ae4
Showing
6 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+783 Bytes
(120%)
test/expect/ModelTester.test_fasterrcnn_resnet50_fpn_expect.pkl
Binary file not shown.
Binary file modified
BIN
-18.5 KB
(38%)
test/expect/ModelTester.test_keypointrcnn_resnet50_fpn_expect.pkl
Binary file not shown.
Binary file modified
BIN
+3.61 KB
(470%)
test/expect/ModelTester.test_maskrcnn_resnet50_fpn_expect.pkl
Binary file not shown.
Binary file modified
BIN
+8.13 KB
(710%)
test/expect/ModelTester.test_retinanet_resnet50_fpn_expect.pkl
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters