Can I use the Roboflow for custom detection, with an offline (no internet) environment?
My model is trained with Roboflow, yet I can’t find a way to download the .pt file.
ok but that is just the generic weights file. how do i get my best.pt?
Simple answer is, there is no way for you to download the model. The only way you can use your model is through API calls. So, basically, you put effort and money into training and fine-tuning your model, and, in the end, Roboflow is the true owner of your work. I guess this was the catch for using a free service. Learned this the hard way
Currently offline mode is included within enterprise plan
Free and Starter Plan customers can still run models through inference, however offline mode is not included in this type of license, please see this documentation paragraph for more details
To be clear, this isn’t true!
To run it locally, use
from inference import get_model
model = get_model("your-project/your-version", api_key="your-api-key")
image = "https://website.com/my-image" # or PIL.Image or numpy array
results = model.infer(image)[0]
see more info here:
and to clarify our license:
In order to stay compliant with licensing requirements, fine-tuned model weights can only be used in an Inference deployment. For free and Starter Plan customers, your Roboflow license permits use of your models on one device. Enterprise customers can deploy models on multiple devices.
So if you use inference on a single device, you are good to go offline on any plan
Update as of February 2025: our new Basic and Growth plans now include model weights download. Docs: Download Roboflow Model Weights | Roboflow Docs
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.