From 9ac8aef10a9f686626baed09d90dded401a69adf Mon Sep 17 00:00:00 2001 From: Dani Rogmans Date: Thu, 9 Apr 2026 09:06:00 +0200 Subject: [PATCH 1/2] upgrade onnx --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e126a80..189d2ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ Pillow>=7.1.2 PyYAML>=5.3.1 gcsfs luxonis-ml[data,nn_archive,utils]~=0.8.0 -onnx==1.17.0 +onnx==1.21.0 numpy>=1.19.5,<2.1.0 onnxruntime>=1.20.1 onnxsim>=0.4.36,<0.6 From d9ae26589156be70116a796430e06ca22250ff79 Mon Sep 17 00:00:00 2001 From: Dani Rogmans Date: Thu, 9 Apr 2026 12:43:52 +0200 Subject: [PATCH 2/2] constraints.txt install in the readme to limit setuptools --- README.md | 2 +- constraints.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 constraints.txt diff --git a/README.md b/README.md index a3c3c20..90be513 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ cd tools ```bash # Install the package -pip install . +PIP_CONSTRAINT=constraints.txt pip install . # Running the package tools yolov6nr4.pt --imgsz "416" ``` diff --git a/constraints.txt b/constraints.txt new file mode 100644 index 0000000..b722ef6 --- /dev/null +++ b/constraints.txt @@ -0,0 +1 @@ +setuptools<82