From 42057fdc95c29fd8bf5f4f26f84c9ba3aa4d3e06 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 26 Jun 2023 21:30:14 +0200 Subject: [PATCH] `lapx` package replacement for `lap` (#3383) --- .github/workflows/ci.yaml | 4 ++-- ultralytics/tracker/utils/matching.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 85cfb57..5452bb8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ['3.10'] + python-version: ['3.11'] model: [yolov5n] steps: - uses: actions/checkout@v3 @@ -141,7 +141,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.11'] model: [yolov8n] torch: [latest] include: diff --git a/ultralytics/tracker/utils/matching.py b/ultralytics/tracker/utils/matching.py index 3bfc80f..0b22b3d 100644 --- a/ultralytics/tracker/utils/matching.py +++ b/ultralytics/tracker/utils/matching.py @@ -13,8 +13,7 @@ try: except (ImportError, AssertionError, AttributeError): from ultralytics.yolo.utils.checks import check_requirements - check_requirements('cython') # required before installing lap from source - check_requirements('git+https://github.com/gatagat/lap.git') # more reliable than 'pip install lap' + check_requirements('lapx>=0.5.2') # update to lap package from https://github.com/rathaROG/lapx import lap