Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inference-engine/cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif()


if (ENABLE_DATA)
add_models_repo(${ENABLE_DATA} "data:inference-engine/open-source-data.git")
add_models_repo(${ENABLE_DATA} "data:[email protected]:openvinotoolkit/testdata.git")
set(MODELS_PATH "${TEMP}/data/src/data")
set(DATA_PATH "${MODELS_PATH}")
endif()
Expand Down
2 changes: 1 addition & 1 deletion inference-engine/cmake/features_ie.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ie_dependent_option (GAPI_TEST_PERF "if GAPI unit tests should examine performan

ie_dependent_option (ENABLE_MYRIAD_MVNC_TESTS "functional and behavior tests for mvnc api" OFF "ENABLE_TESTS;ENABLE_MYRIAD" OFF)

ie_dependent_option (ENABLE_DATA "fetch models from open-source-data repo" ON "ENABLE_FUNCTIONAL_TESTS;NOT ANDROID" OFF)
ie_dependent_option (ENABLE_DATA "fetch models from testdata repo" ON "ENABLE_FUNCTIONAL_TESTS;NOT ANDROID" OFF)

ie_dependent_option (ENABLE_SAME_BRANCH_FOR_MODELS "uses same branch for models and for inference engine, if not enabled models are taken from master" OFF "ENABLE_TESTS" OFF)

Expand Down
7 changes: 4 additions & 3 deletions inference-engine/cmake/models.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ function (fetch_models_and_validation_set)
string(REPLACE ":" ";" MODEL_CONFIG_LST ${loop_var})

list(GET MODEL_CONFIG_LST 0 folder_name)
list(GET MODEL_CONFIG_LST 1 repo_name)
list(GET MODEL_CONFIG_LST 2 branch_name)
list(GET MODEL_CONFIG_LST 1 git_url)
list(GET MODEL_CONFIG_LST 2 repo_name)
list(GET MODEL_CONFIG_LST 3 branch_name)

string(FIND ${folder_name} "model" IS_MODEL)
if(${folder_name} MATCHES "model*")
Expand All @@ -78,7 +79,7 @@ function (fetch_models_and_validation_set)
add_lfs_repo(
"${folder_name}"
${TEMP}${FOLDER_NAME}/${folder_name}
"[email protected]:${repo_name}"
"${git_url}:${repo_name}"
"${branch_name}")
endforeach(loop_var)
endfunction()