Doing inference of a custom trained yolov8 .pt model using pytorch #2426
Replies: 1 comment
-
@swaminathanayyappan190799 hello! To load your custom trained YOLOv8 model using PyTorch, you don't need to use Here's a general outline of the steps you would follow:
Make sure that the model architecture you define in your code matches the one used for training your For more detailed instructions on how to perform these steps, please refer to the Ultralytics Docs, specifically the sections related to the Predict mode and model loading. 😊 Good luck with your object detection tasks! |
Beta Was this translation helpful? Give feedback.
-
Hi,
Can someone help me to load my custom trained yolov8 object detection model using torch, actually i tried it using torch.hub.load("ultralytics/ultralytics", "custom", path="<pathofmymodel .pt>") method but it got failed due to the missing of hubconf.py, any suggestions to this issue is more welcomed !
Beta Was this translation helpful? Give feedback.
All reactions