Update ci-testing.yml
Browse files
.github/workflows/ci-testing.yml
CHANGED
@@ -58,16 +58,16 @@ jobs:
|
|
58 |
run: |
|
59 |
export PYTHONPATH="$PWD" # to run *.py. files in subdirectories
|
60 |
di=cpu # inference devices # define device
|
|
|
61 |
# train
|
62 |
-
python train.py --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --
|
63 |
# detect
|
64 |
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
|
65 |
python detect.py --weights runs/exp0/weights/last.pt --device $di
|
66 |
# test
|
67 |
-
python test.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
|
68 |
-
python test.py --weights runs/exp0/weights/last.pt --device $di
|
69 |
-
|
70 |
-
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml
|
71 |
-
# export
|
72 |
-
python models/export.py --weights weights/${{ matrix.yolo5-model }}.pt --img 640 --batch 1
|
73 |
shell: bash
|
|
|
58 |
run: |
|
59 |
export PYTHONPATH="$PWD" # to run *.py. files in subdirectories
|
60 |
di=cpu # inference devices # define device
|
61 |
+
|
62 |
# train
|
63 |
+
python train.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --device $di
|
64 |
# detect
|
65 |
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
|
66 |
python detect.py --weights runs/exp0/weights/last.pt --device $di
|
67 |
# test
|
68 |
+
python test.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --device $di
|
69 |
+
python test.py --img 256 --batch 8 --weights runs/exp0/weights/last.pt --device $di
|
70 |
+
|
71 |
+
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml # inspect
|
72 |
+
python models/export.py --img 256 --batch 1 --weights weights/${{ matrix.yolo5-model }}.pt # export
|
|
|
73 |
shell: bash
|