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 # define device
di=cpu # inference devices di=cpu # inference devices
# train # 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 # detect official
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
# detect custom # detect custom
python detect.py --weights runs/exp0/weights/last.pt --device $di python detect.py --weights runs/exp0/weights/last.pt --device $di
# test official # 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 # 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 # inspect
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml
# export # export

Loading…
Cancel
Save