Merge pull request #25538 from asmorkalov:as/resnet_optional

Made fcn-resnet50-12.onnx model optional.
This commit is contained in:
Alexander Smorkalov 2024-05-06 08:16:51 +03:00 committed by GitHub
commit c43957cbec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -676,7 +676,7 @@ TEST_P(Test_Model, Segmentation)
}
std::string inp = _tf("dog416.png");
std::string weights_file = _tf("onnx/models/fcn-resnet50-12.onnx");
std::string weights_file = _tf("onnx/models/fcn-resnet50-12.onnx", false);
std::string exp = _tf("segmentation_exp.png");
Size size{128, 128};