glenn-jocher commited on
Commit
d490bdd
1 Parent(s): 7433d38

Add best.pt PyTorch Hub inference to CI (#8024)

Browse files
Files changed (1) hide show
  1. .github/workflows/ci-testing.yml +2 -0
.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