pip_overrides ultralytics to 8.3.40

This commit is contained in:
Dr.Lt.Data
2024-12-06 04:46:14 +09:00
parent 8d1fd75c6c
commit 5a61000daa
2 changed files with 2 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ if os.path.exists(pip_overrides_path):
with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
cm_global.pip_overrides = json.load(json_file)
cm_global.pip_overrides['numpy'] = 'numpy<2'
cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security
def remap_pip_package(pkg):