pull/1/head
Jirka 5 years ago
parent 9a880a4554
commit da6c7cea2b

@ -58,6 +58,9 @@ jobs:
- name: Tests workflow - name: Tests workflow
run: | run: |
# to run *.py. files in subdirectories
export PYTHONPATH="$PWD"
# define device
di=cpu # inference devices di=cpu # inference devices
# 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 2 python train.py --weights weights/${{ matrix.yolo5-model }}.pt --cfg models/${{ matrix.yolo5-model }}.yaml --epochs 1 --img 320 --device $di --batch-size 2

Loading…
Cancel
Save