diff options
author | Isabella Gottardi <isabella.gottardi@arm.com> | 2021-04-21 13:09:51 +0100 |
---|---|---|
committer | kshitij-sisodia-arm <kshitij-sisodia-arm@review.mlplatform.org> | 2021-04-23 16:13:52 +0000 |
commit | b88705d6c04d8b7b2fdffaf1501042b984e682cf (patch) | |
tree | 8d5415268fb5b46adc82f0c62de866210325d6dc /scripts | |
parent | fcee088fe85f029711e9e190d7bd38b454fc6e6b (diff) | |
download | ml-embedded-evaluation-kit-b88705d6c04d8b7b2fdffaf1501042b984e682cf.tar.gz |
MLECO-1880: Make model zoo commit hash configurable for each model
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Change-Id: Ic7bcb0cbf334049ff89e9973e58fd0b3bf463892
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cmake/util_functions.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cmake/util_functions.cmake b/scripts/cmake/util_functions.cmake index 6d76131..e39de2f 100644 --- a/scripts/cmake/util_functions.cmake +++ b/scripts/cmake/util_functions.cmake @@ -118,15 +118,15 @@ endfunction() # Function to download a files from the Arm Model Zoo # Arguments: +# model_zoo_version: hash of the Arm Model Zoo commit to use # file_sub_path: subpath within the model zoo respository # download_path: location where this file is to be downloaded (path including filename) -function(download_file_from_modelzoo file_sub_path download_path) +function(download_file_from_modelzoo model_zoo_version file_sub_path download_path) set(MODEL_ZOO_REPO "https://github.com/ARM-software/ML-zoo/raw") - set(MODEL_ZOO_VERSION "68b5fbc77ed28e67b2efc915997ea4477c1d9d5b") string(JOIN "/" FILE_URL - ${MODEL_ZOO_REPO} ${MODEL_ZOO_VERSION} ${file_sub_path}) + ${MODEL_ZOO_REPO} ${model_zoo_version} ${file_sub_path}) message(STATUS "Downloading ${FILE_URL} to ${download_path}...") |