Bladeren bron

Update ci-testing.yml

5.0
Glenn Jocher GitHub 4 jaren geleden
bovenliggende
commit
02464bc004
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: 4AEE18F83AFDEB23
1 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. +7
    -7
      .github/workflows/ci-testing.yml

+ 7
- 7
.github/workflows/ci-testing.yml Bestand weergeven

@@ -58,16 +58,16 @@ jobs:
run: |
export PYTHONPATH="$PWD" # to run *.py. files in subdirectories
di=cpu # inference devices # define device
# 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
python detect.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di
python detect.py --weights runs/exp0/weights/last.pt --device $di
# test
python test.py --weights weights/${{ matrix.yolo5-model }}.pt --device $di --batch 8
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
python models/export.py --weights weights/${{ matrix.yolo5-model }}.pt --img 640 --batch 1
python test.py --img 256 --batch 8 --weights weights/${{ matrix.yolo5-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
shell: bash

Laden…
Annuleren
Opslaan