Update ci-testing.yml

pull/1/head
Glenn Jocher 5 years ago committed by GitHub
parent 2efa01db0e
commit d78a79bd25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,15 +65,15 @@ jobs:
# define device
di=cpu # inference devices
# train
python train.py --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --img 320 --device $di --batch-size 2
python train.py --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --img 320 --device $di --batch-size 8
# detect official
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
# detect custom
python detect.py --weights runs/exp0/weights/last.pt --device $di
# test official
python test.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di --batch-size 1
python test.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di --batch 8
# test custom
python test.py --weights runs/exp0/weights/last.pt --device $di --batch-size 1
python test.py --weights runs/exp0/weights/last.pt --device $di --batch 8
# inspect
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml
# export

Loading…
Cancel
Save