Browse Source

Update ci-testing.yml

5.0
Glenn Jocher GitHub 4 years ago
parent
commit
d78a79bd25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      .github/workflows/ci-testing.yml

+ 3
- 3
.github/workflows/ci-testing.yml View File

@@ -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