fix tests
Browse files
.github/workflows/ci-testing.yml
CHANGED
@@ -10,7 +10,7 @@ jobs:
|
|
10 |
strategy:
|
11 |
fail-fast: false
|
12 |
matrix:
|
13 |
-
os: [ubuntu-18.04,
|
14 |
python-version: [3.7, 3.8]
|
15 |
|
16 |
# Timeout: https://stackoverflow.com/a/59076067/4521646
|
@@ -55,8 +55,8 @@ jobs:
|
|
55 |
run: |
|
56 |
for x in yolov5s yolov5m yolov5l yolov5x # models
|
57 |
do
|
58 |
-
python train.py --weights $x.pt --cfg $x.yaml --epochs 3 --img 320 --device 0,1 # train
|
59 |
di=cpu # inference devices
|
|
|
60 |
python detect.py --weights $x.pt --device $di # detect official
|
61 |
python detect.py --weights runs/exp0/weights/last.pt --device $di # detect custom
|
62 |
python test.py --weights $x.pt --device $di # test official
|
|
|
10 |
strategy:
|
11 |
fail-fast: false
|
12 |
matrix:
|
13 |
+
os: [ubuntu-18.04, macOS-10.15] #, windows-2019
|
14 |
python-version: [3.7, 3.8]
|
15 |
|
16 |
# Timeout: https://stackoverflow.com/a/59076067/4521646
|
|
|
55 |
run: |
|
56 |
for x in yolov5s yolov5m yolov5l yolov5x # models
|
57 |
do
|
|
|
58 |
di=cpu # inference devices
|
59 |
+
python train.py --weights $x.pt --cfg $x.yaml --epochs 3 --img 320 --device $di # train
|
60 |
python detect.py --weights $x.pt --device $di # detect official
|
61 |
python detect.py --weights runs/exp0/weights/last.pt --device $di # detect custom
|
62 |
python test.py --weights $x.pt --device $di # test official
|