You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, it was so amazing.
I have one question. I'll be so grateful if you could help:
I watched the video that explained how to train yolov5 with the custom dataset. I used that notebook and exported the best.pt file, containing model weights. My question is: how to use it for inference?
I used model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt') # PyTorch
but It loads the original .pt file, not my custom one.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks, it was so amazing.
I have one question. I'll be so grateful if you could help:
but It loads the original .pt file, not my custom one.
Beta Was this translation helpful? Give feedback.
All reactions