|
|
@@ -66,14 +66,14 @@ jobs: |
|
|
|
di=cpu # inference devices # define device |
|
|
|
|
|
|
|
# train |
|
|
|
python train.py --img 256 --batch 8 --weights weights/${{ matrix.model }}.pt --cfg models/${{ matrix.model }}.yaml --epochs 1 --device $di |
|
|
|
python train.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --cfg models/${{ matrix.model }}.yaml --epochs 1 --device $di |
|
|
|
# detect |
|
|
|
python detect.py --weights weights/${{ matrix.model }}.pt --device $di |
|
|
|
python detect.py --weights runs/train/exp/weights/last.pt --device $di |
|
|
|
# test |
|
|
|
python test.py --img 256 --batch 8 --weights weights/${{ matrix.model }}.pt --device $di |
|
|
|
python test.py --img 256 --batch 8 --weights runs/train/exp/weights/last.pt --device $di |
|
|
|
python test.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --device $di |
|
|
|
python test.py --img 128 --batch 16 --weights runs/train/exp/weights/last.pt --device $di |
|
|
|
|
|
|
|
python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect |
|
|
|
python models/export.py --img 256 --batch 1 --weights weights/${{ matrix.model }}.pt # export |
|
|
|
python models/export.py --img 128 --batch 1 --weights weights/${{ matrix.model }}.pt # export |
|
|
|
shell: bash |