Add best.pt PyTorch Hub inference to CI (#8024)
Browse files
.github/workflows/ci-testing.yml
CHANGED
@@ -114,4 +114,6 @@ jobs:
|
|
114 |
import torch
|
115 |
model = torch.hub.load('.', 'custom', path='$model', source='local')
|
116 |
print(model('data/images/bus.jpg'))
|
|
|
|
|
117 |
EOF
|
|
|
114 |
import torch
|
115 |
model = torch.hub.load('.', 'custom', path='$model', source='local')
|
116 |
print(model('data/images/bus.jpg'))
|
117 |
+
model = torch.hub.load('.', 'custom', path='$best', source='local')
|
118 |
+
print(model('data/images/bus.jpg'))
|
119 |
EOF
|