Update ci-testing.yml (#2018)
Browse files
.github/workflows/ci-testing.yml
CHANGED
@@ -66,14 +66,14 @@ jobs:
|
|
66 |
di=cpu # inference devices # define device
|
67 |
|
68 |
# train
|
69 |
-
python train.py --img
|
70 |
# detect
|
71 |
python detect.py --weights weights/${{ matrix.model }}.pt --device $di
|
72 |
python detect.py --weights runs/train/exp/weights/last.pt --device $di
|
73 |
# test
|
74 |
-
python test.py --img
|
75 |
-
python test.py --img
|
76 |
|
77 |
python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect
|
78 |
-
python models/export.py --img
|
79 |
shell: bash
|
|
|
66 |
di=cpu # inference devices # define device
|
67 |
|
68 |
# train
|
69 |
+
python train.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --cfg models/${{ matrix.model }}.yaml --epochs 1 --device $di
|
70 |
# detect
|
71 |
python detect.py --weights weights/${{ matrix.model }}.pt --device $di
|
72 |
python detect.py --weights runs/train/exp/weights/last.pt --device $di
|
73 |
# test
|
74 |
+
python test.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --device $di
|
75 |
+
python test.py --img 128 --batch 16 --weights runs/train/exp/weights/last.pt --device $di
|
76 |
|
77 |
python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect
|
78 |
+
python models/export.py --img 128 --batch 1 --weights weights/${{ matrix.model }}.pt # export
|
79 |
shell: bash
|