Quellcode durchsuchen

Update ci-testing.yml

5.0
Glenn Jocher GitHub vor 4 Jahren
Ursprung
Commit
90e7bfdf75
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. +7
    -7
      .github/workflows/ci-testing.yml

+ 7
- 7
.github/workflows/ci-testing.yml Datei anzeigen

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

Laden…
Abbrechen
Speichern