Parcourir la source

Update ci-testing.yml

5.0
Glenn Jocher GitHub il y a 4 ans
Parent
révision
90e7bfdf75
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. +7
    -7
      .github/workflows/ci-testing.yml

+ 7
- 7
.github/workflows/ci-testing.yml Voir le fichier

@@ -10,9 +10,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] #, macOS-10.15, windows-2019
os: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8]
yolo5-model: ["yolov5s", "yolov5m", "yolov5l", "yolov5x"]
model: ['yolov5s', 'yolov5m', 'yolov5l', 'yolov5x'] # models to test

# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 50
@@ -60,14 +60,14 @@ jobs:
di=cpu # inference devices # define device
# train
python train.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --device $di
python train.py --img 256 --batch 8 --weights weights/${{ matrix.model }}.pt --cfg models/${{ matrix.model }}.yaml --epochs 1 --device $di
# detect
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
python detect.py --weights weights/${{ matrix.model }}.pt --device $di
python detect.py --weights runs/exp0/weights/last.pt --device $di
# test
python test.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-model }}.pt --device $di
python test.py --img 256 --batch 8 --weights weights/${{ matrix.model }}.pt --device $di
python test.py --img 256 --batch 8 --weights runs/exp0/weights/last.pt --device $di
python models/yolo.py --cfg models/${{ matrix.yolo5-model }}.yaml # inspect
python models/export.py --img 256 --batch 1 --weights weights/${{ matrix.yolo5-model }}.pt # export
python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect
python models/export.py --img 256 --batch 1 --weights weights/${{ matrix.model }}.pt # export
shell: bash

Chargement…
Annuler
Enregistrer