From da6c7cea2b75af10c1a13132c33b421f6ed9a2d7 Mon Sep 17 00:00:00 2001 From: Jirka Date: Thu, 16 Jul 2020 12:06:18 +0200 Subject: [PATCH] paths --- .github/workflows/ci-testing.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 526bcf3..cda65a9 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -58,6 +58,9 @@ jobs: - name: Tests workflow run: | + # to run *.py. files in subdirectories + export PYTHONPATH="$PWD" + # 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