Skip to content

Commit

Permalink
fixed lib-open-model-zoo
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigori Fursin committed May 22, 2021
1 parent d900c78 commit 26f6433
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
48 changes: 24 additions & 24 deletions package/lib-open-model-zoo/.cm/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,43 +38,43 @@
"module_uoa": "script"
},
"variations": {
"2019_R3": {
"extra_env": {
"PACKAGE_NAME": "2019_R3.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2019_R3"
},
"extra_customize": {
"version": "2019_R3"
},
"on_by_default": "no"
},
"2019_R3.1": {
"extra_env": {
"PACKAGE_NAME": "2019_R3.1.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2019_R3.1"
},
"extra_customize": {
"version": "2019_R3.1"
},
"on_by_default": "yes"
},
"2020.1": {
"extra_env": {
"PACKAGE_NAME": "2020.1.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2020.1"
"PACKAGE_NAME": "2020.1.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2020.1"
},
"extra_customize": {
"version": "2020.1"
}
},
"2020.2": {
"extra_env": {
"PACKAGE_NAME": "2020.2.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2020.2"
"PACKAGE_NAME": "2020.2.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2020.2"
},
"extra_customize": {
"version": "2020.2"
}
},
"2019_R3": {
"extra_customize": {
"version": "2019_R3"
},
"extra_env": {
"PACKAGE_NAME": "2019_R3.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2019_R3"
},
"on_by_default": "no"
},
"2019_R3.1": {
"extra_customize": {
"version": "2019_R3.1"
},
"extra_env": {
"PACKAGE_NAME": "2019_R3.1.zip",
"PACKAGE_SUB_DIR": "open_model_zoo-2019_R3.1"
},
"on_by_default": "yes"
}
}
}
3 changes: 2 additions & 1 deletion package/lib-open-model-zoo/scripts.linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ echo ""
echo "Setting up Accuracy Checker."
echo ""

if [ "${PACKAGE_VERSION}" = "2019_R3.1" ] || [ "${PACKAGE_VERSION}" = "2019_R3" ]; then
if [ "${PACKAGE_VERSION}" = "2019_R3.1" ] || [ "${PACKAGE_VERSION}" = "2019_R3" ] \
|| [ "${PACKAGE_VERSION}" = "2020.1" ] || [ "${PACKAGE_VERSION}" = "2020.2" ]; then

read -d '' CMD <<END_OF_CMD
cd ${INSTALL_DIR}/open_model_zoo-${PACKAGE_VERSION}/tools/accuracy_checker/ ; \
Expand Down

0 comments on commit 26f6433

Please sign in to comment.