mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-30 03:37:44 +00:00
Read model zoo test (#17666)
This commit is contained in:
parent
891fba3b9c
commit
55b16d347c
1 changed files with 4 additions and 0 deletions
|
|
@ -1133,11 +1133,15 @@ static ORT_STRING_VIEW provider_name_dml = ORT_TSTR("dml");
|
|||
#if defined(NDEBUG) || defined(RUN_MODELTEST_IN_DEBUG_MODE)
|
||||
#ifdef _WIN32
|
||||
ORT_STRING_VIEW model_test_root_path = ORT_TSTR("..\\models");
|
||||
// thus, only the root path should be mounted.
|
||||
ORT_STRING_VIEW model_zoo_path = ORT_TSTR("..\\models\\zoo");
|
||||
#else
|
||||
ORT_STRING_VIEW model_test_root_path = ORT_TSTR("../models");
|
||||
ORT_STRING_VIEW model_zoo_path = ORT_TSTR("../models/zoo");
|
||||
#endif
|
||||
for (auto p : kvp.second) {
|
||||
paths.push_back(ConcatPathComponent(model_test_root_path, p));
|
||||
paths.push_back(ConcatPathComponent(model_zoo_path, p));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue