Add best.pt PyTorch Hub inference to CI (#8024)
This commit is contained in:
parent
7433d3829a
commit
d490bdd7d6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue