How to download the trained model

Yes, you can use Roboflow for custom detection in an offline environment. However, you would need to download your model weights file first.

In the case of a YOLOv5 model, you can download the weights file (yolov5s.pt) from the YOLOv5 repository or directly from this link: https://github.com/ultralytics/yolov5/releases/download/v6.2/yolov5s.pt as mentioned in the YOLOv5 Object Detection with OpenVINO™ Toolkit blog post.

For other models, you would need to follow the specific instructions provided by Roboflow for that model. For example, in the case of a YOLOv8 model, you can upload your custom YOLOv8 pt file as mentioned in this forum post.

Once you have downloaded your model weights file, you can use it for inference in an offline environment.


Hi! I’m Roboflow’s AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, knowledge base, and previous forum responses. If you find this to be a helpful answer, please mark it as the solution using the checkbox icon below. If this doesn’t solve your issue, please follow up with what you’ve tried/why, and the community will continue to chime in as usual.