From db9b9fe051349d285b8407cc461e7fff506e5e7f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 28 May 2022 22:45:03 +0200 Subject: [PATCH] Add best.pt PyTorch Hub inference to CI --- .github/workflows/ci-testing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 5c032e205c1a..5f60746370df 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -114,4 +114,6 @@ jobs: import torch model = torch.hub.load('.', 'custom', path='$model', source='local') print(model('data/images/bus.jpg')) + model = torch.hub.load('.', 'custom', path='$best', source='local') + print(model('data/images/bus.jpg')) EOF