mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-24 06:14:55 +08:00
lapx
package replacement for lap
(#3383)
This commit is contained in:
parent
12f3089110
commit
42057fdc95
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ['3.10']
|
python-version: ['3.11']
|
||||||
model: [yolov5n]
|
model: [yolov5n]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -141,7 +141,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ['3.8', '3.9', '3.10']
|
python-version: ['3.11']
|
||||||
model: [yolov8n]
|
model: [yolov8n]
|
||||||
torch: [latest]
|
torch: [latest]
|
||||||
include:
|
include:
|
||||||
|
@ -13,8 +13,7 @@ try:
|
|||||||
except (ImportError, AssertionError, AttributeError):
|
except (ImportError, AssertionError, AttributeError):
|
||||||
from ultralytics.yolo.utils.checks import check_requirements
|
from ultralytics.yolo.utils.checks import check_requirements
|
||||||
|
|
||||||
check_requirements('cython') # required before installing lap from source
|
check_requirements('lapx>=0.5.2') # update to lap package from https://github.com/rathaROG/lapx
|
||||||
check_requirements('git+https://github.com/gatagat/lap.git') # more reliable than 'pip install lap'
|
|
||||||
import lap
|
import lap
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user