From afa316b2156a1fa0536aebaf8f7c2c2132d69b79 Mon Sep 17 00:00:00 2001 From: Laughing-q <1185102784@qq.com> Date: Wed, 27 Nov 2024 15:25:56 +0800 Subject: [PATCH] update --- .github/workflows/ci.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e8c6f256e9..c1ae0388ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -110,7 +110,7 @@ jobs: - name: Install requirements shell: bash # for Windows compatibility run: | - uv pip install --system -e ".[export]" "coverage[toml]" --extra-index-url https://download.pytorch.org/whl/cpu + uv pip install --prerelease=allow --system -e ".[export]" "coverage[toml]" --extra-index-url https://download.pytorch.org/whl/cpu - name: Check environment run: | yolo checks diff --git a/pyproject.toml b/pyproject.toml index 20e95e7cc2..926378ea1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ export = [ "scikit-learn>=1.3.2; platform_system != 'Windows' and python_version <= '3.11'", # CoreML k-means quantization "openvino>=2024.0.0", # OpenVINO export "tensorflow>=2.0.0", # TF bug https://github.com/ultralytics/ultralytics/issues/5161 - "tensorflowjs>=4.5.0,<4.11.0", # TF.js export, automatically installs tensorflow + "tensorflowjs>=4.5.0", # TF.js export, automatically installs tensorflow "tensorstore>=0.1.63; platform_machine == 'aarch64' and python_version >= '3.9'", # for TF Raspberry Pi exports "keras", # not installed automatically by tensorflow>=2.16 "flatbuffers>=23.5.26,<100; platform_machine == 'aarch64'", # update old 'flatbuffers' included inside tensorflow package