disable random unit tests for multiclass nms and matrix nsm. (#11839)

They sporadically impact CI... possible reason is the order of paddle and openvino is not guaranteed when more than
one bboxes have equal scores.
Actually there is no need for these random tests as the remainding cases have covered them.
This commit is contained in:
cecilia peng 2022-06-13 16:43:57 +08:00 committed by GitHub
parent 93839f8379
commit d91b8bd17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -208,8 +208,8 @@ static const std::vector<std::string> models{
std::string("matrix_nms_one_batch"),
std::string("matrix_nms_single_box"),
std::string("matrix_nms_two_batches_two_classes"),
std::string("matrix_nms_normalized_random"),
std::string("matrix_nms_not_normalized_random"),
// std::string("matrix_nms_normalized_random"),
// std::string("matrix_nms_not_normalized_random"),
std::string("maxAdaptivePool2D_test1"),
std::string("maxPool_test1"),
std::string("maxPool_test10"),
@ -260,8 +260,8 @@ static const std::vector<std::string> models{
std::string("multiclass_nms_not_return_indexed"),
std::string("multiclass_nms_single_box"),
std::string("multiclass_nms_two_batches_two_classes_by_class_id"),
std::string("multiclass_nms_normalized_random"),
std::string("multiclass_nms_not_normalized_random"),
// std::string("multiclass_nms_normalized_random"),
// std::string("multiclass_nms_not_normalized_random"),
std::string("nearest_downsample_false_0"),
std::string("nearest_downsample_false_1"),
std::string("nearest_upsample_false_0"),

View File

@ -404,4 +404,4 @@ def TEST1(N=7, M=1200, C=21):
if __name__ == "__main__":
main()
TEST1()
#TEST1()

View File

@ -411,7 +411,7 @@ def multiclass_nms_lod(appendix : str = '_default', background = -1, score_thres
if __name__ == "__main__":
main()
TEST1()
#TEST1()
multiclass_nms_lod() # default
multiclass_nms_lod('_background', background = -1)
multiclass_nms_lod('_score_threshold', score_threshold = 0.5)