MLECO-3620 MLECO-3619: Update to 22.11 dependencies
* 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
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 @@
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 @@
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 @@
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: