diff options
author | Richard Burton <richard.burton@arm.com> | 2022-12-01 12:31:23 +0000 |
---|---|---|
committer | Richard Burton <richard.burton@arm.com> | 2022-12-01 12:31:23 +0000 |
commit | 71f282e8dc7284431cd6d0305370cc8e450d4463 (patch) | |
tree | b1e74e4df1990da4061e477e628485022142ffe0 /set_up_default_resources.py | |
parent | f32a86a6969508d7a156decbed0bfc9466ad92fa (diff) | |
download | ml-embedded-evaluation-kit-71f282e8dc7284431cd6d0305370cc8e450d4463.tar.gz |
* CMSIS-NN is now a seperate dependency
* Added inclusive language commitment
* TensorFlow Lite Micro dependency is moved ahead of 22.11 to fix compilation issue
Change-Id: I60e3311ff7da2ce064cbcdca054a86bdd1f620d8
Diffstat (limited to 'set_up_default_resources.py')
-rwxr-xr-x | set_up_default_resources.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/set_up_default_resources.py b/set_up_default_resources.py index 475f6da..e3ece8b 100755 --- a/set_up_default_resources.py +++ b/set_up_default_resources.py @@ -381,7 +381,7 @@ def set_up_resources( metadata_file_path = download_dir / "resources_downloaded_metadata.json" metadata_dict = dict() - vela_version = "3.5.0" + vela_version = "3.6.0" py3_major_version_minimum = 3 # Python >= 3.7 is required py3_minor_version_minimum = 7 @@ -443,7 +443,12 @@ def set_up_resources( call_command(command) os.chdir(current_file_dir) - # 1.3 Make sure to have all the requirements + # 1.3 Install additional requirements first, if a valid file has been provided + if additional_requirements_file and os.path.isfile(additional_requirements_file): + command = f"{env_python} -m pip install -r {additional_requirements_file}" + call_command(command) + + # 1.4 Make sure to have all the main requirements requirements = [f"ethos-u-vela=={vela_version}"] command = f"{env_python} -m pip freeze" packages = call_command(command) @@ -452,11 +457,6 @@ def set_up_resources( command = f"{env_python} -m pip install {req}" call_command(command) - # 1.4 Install additional requirements, if a valid file has been provided - if additional_requirements_file and os.path.isfile(additional_requirements_file): - command = f"{env_python} -m pip install -r {additional_requirements_file}" - call_command(command) - # 2. Download models logging.info("Downloading resources.") for uc in json_uc_res: |