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

Update ci-testing.yml

上级 34cbd7f1
...@@ -58,16 +58,16 @@ jobs: ...@@ -58,16 +58,16 @@ jobs:
run: | run: |
export PYTHONPATH="$PWD" # to run *.py. files in subdirectories export PYTHONPATH="$PWD" # to run *.py. files in subdirectories
di=cpu # inference devices # define device di=cpu # inference devices # define device
# 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 8 python train.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --device $di
# detect # detect
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
python detect.py --weights runs/exp0/weights/last.pt --device $di python detect.py --weights runs/exp0/weights/last.pt --device $di
# test # test
python test.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di --batch 8 python test.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --device $di
python test.py --weights runs/exp0/weights/last.pt --device $di --batch 8 python test.py --img 256 --batch 8 --weights runs/exp0/weights/last.pt --device $di
# inspect
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml # inspect
# export python models/export.py --img 256 --batch 1 --weights weights/${{ matrix.yolo5-model }}.pt # export
python models/export.py --weights weights/${{ matrix.yolo5-model }}.pt --img 640 --batch 1
shell: bash shell: bash
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论