Unverified 提交 d78a79bd authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

Update ci-testing.yml

上级 2efa01db
...@@ -65,15 +65,15 @@ jobs: ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论