Skip to content

Commit 427cc54

Browse files
authored
Use non serialized models for batch so onnx can join in (#318)
1 parent d9cec5c commit 427cc54

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/cpp/test_accuracy.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,7 @@ TEST_P(ModelParameterizedTest, SerializedAccuracyTest) {
209209
TEST_P(ModelParameterizedTest, AccuracyTestBatch) {
210210
auto data = GetParam();
211211

212-
const std::string& basename = data.name.substr(data.name.find_last_of("/\\") + 1);
213-
auto model_path = DATA_DIR + "/serialized/" + basename;
214-
215-
if (model_path.find(".onnx") != std::string::npos) {
216-
GTEST_SKIP() << "ONNX models are not serializable";
217-
}
212+
auto model_path = DATA_DIR + '/' + data.name;
218213

219214
if (data.type == "DetectionModel") {
220215
auto use_tiling = !data.input_res.empty();

0 commit comments

Comments
 (0)