lapx package replacement for lap (#3383)

This commit is contained in:
Glenn Jocher 2023-06-26 21:30:14 +02:00 committed by GitHub
parent 12f3089110
commit 42057fdc95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -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