Roboflow Docs
DashboardResourcesProducts
  • Product Documentation
  • Developer Reference
  • Changelog
  • Roboflow Documentation
  • Quickstart
  • Workspaces
    • Workspaces, Projects, and Models
    • Create a Workspace
    • Rename a Workspace
    • Delete a Workspace
  • Team Members
    • Invite a Team Member
    • Role-Based Access Control (RBAC)
    • Change a Team Member Role
    • Remove a Team Member
  • Single Sign On (SSO)
  • Workflows
    • What is Workflows?
    • Create a Workflow
    • Build a Workflow
    • Test a Workflow
    • Deploy a Workflow
    • Workflow Examples
      • Multimodal Model Workflow
    • Share a Workflow
    • Workflows AI Assistant
  • Enterprise Integrations
  • Workflow Blocks
    • Run a Model
      • Object Detection Model
      • Single-Label Classification Model
    • Visualize Predictions
      • Bounding Box Visualization
      • Label Visualization
      • Circle Visualization
      • Background Color Visualization
      • Classification Label Visualization
      • Crop Visualization
  • Dataset Management
    • Create a Project
    • Upload Images, Videos, and Annotations
      • Import Data from Cloud Providers
        • AWS S3 Bucket
        • Azure Blob Storage
        • Google Cloud Storage
      • Import from Roboflow Universe
    • Manage Datasets
      • Dataset Batches
      • Search a Dataset
      • Set Dataset Classes
      • Add Tags to Images
      • Create an Annotation Attribute
      • Download an Image
      • Delete an Image
    • Dataset Versions
      • Create a Dataset Version
      • Preprocess Images
      • Augment Images
      • Delete a Version
      • Export a Dataset Version
    • Dataset Analytics
    • Merge Projects
    • Rename a Project
    • Delete a Project
    • Project Folders
    • Make a Project Public
  • Annotate
    • Introduction to Roboflow Annotate
    • Annotate an Image
      • Keyboard Shortcuts
      • Comment on an Image
      • Annotation History
      • Similarity Search
    • AI Labeling
      • Label Assist
      • Enhanced Smart Polygon with SAM
        • Smart Polygon (Legacy)
      • Box Prompting
      • Auto Label
    • Set Keypoint Skeletons
    • Annotate Keypoints
    • Annotate Multimodal Data
    • Collaborate on Labeling
    • Annotation Insights
  • Managed Labeling
  • Train
    • Train a Model
      • Train from a Universe Checkpoint
      • Train from Azure Vision
      • Train from Google Cloud
    • Roboflow Instant
    • Cancel a Training Job
    • Stop Training Early
    • View Training Results
    • View Trained Models
    • Evaluate Trained Models
  • Download a Dataset Version
  • Deploy
    • Deploy a Model or Workflow
    • Managed Deployments
    • Serverless Hosted API V2
      • Use in a Workflow
      • Use with the REST API
      • Run an Instant Model
    • Serverless Hosted API
      • Object Detection
      • Classification
      • Instance Segmentation
        • Semantic Segmentation
      • Keypoint Detection
      • Foundation Models
        • CLIP
        • OCR
        • YOLO-World
      • Video Inference
        • Use a Fine-Tuned Model
        • Use CLIP
        • Use Gaze Detection
        • API Reference
        • Video Inference JSON Output Format
      • Pre-Trained Model APIs
        • Blur People API
        • OCR API
        • Logistics API
        • Image Tagging API
        • People Detection API
        • Fish Detection API
        • Bird Detection API
        • PPE Detection API
        • Barcode Detection API
        • License Plate Detection API
        • Ceramic Defect Detection API
        • Metal Defect Detection API
    • Dedicated Deployments
      • Create a Dedicated Deployment
      • Make Requests to a Dedicated Deployment
      • Manage Dedicated Deployments with an API
    • Batch Processing
    • SDKs
      • Python inference-sdk
      • Web Browser
        • inferencejs Reference
        • inferencejs Requirements
      • Lens Studio
        • Changelog - Lens Studio
      • Luxonis OAK
    • Upload Custom Model Weights
    • Download Model Weights
    • Enterprise Deployment
      • License Server
      • Offline Mode
      • Kubernetes
      • Docker Compose
    • Monitor Deployed Models
      • Alerting
  • Universe
    • What is Roboflow Universe?
    • Find a Dataset on Universe
    • Explore Images in a Universe Dataset
    • Fork a Universe Dataset
    • Find a Model on Universe
    • Download a Universe Dataset
  • Set a Project Description
  • View Project Analytics
  • Support
    • Share a Workspace with Support
    • Delete Your Roboflow Account
    • Apply for Academic Credits
  • Billing
    • Premium Trial
    • Credits
      • View Credit Usage
      • Enable or Disable Flex Billing
      • Purchase Prepaid Credits
    • Plans
      • Purchase a Plan
      • Cancel a Plan
      • Update Billing Details
      • Update Payment Method
      • View Invoices
Powered by GitBook
On this page
  • Downloading Models with Inference
  • Downloading Weights for Embedded and Mobile Devices

Was this helpful?

  1. Deploy

Download Model Weights

You can download model weights for use in edge deployment.

PreviousUpload Custom Model WeightsNextEnterprise Deployment

Last updated 4 days ago

Was this helpful?

When you train a model on, or upload model weights to, Roboflow, your model is available for download on your own hardware through Roboflow Inference or a model weights file.

Roboflow does not provide support for downloaded model weights used outside of its ecosystem.

Roboflow provides all users with a commercial license to use all models for on-platform training and on Roboflow's .

Paid plans also receive a limited commercial license for use with . An extended commercial license for downloaded model weights used outside of Roboflow's offerings is available on Growth and Enterprise plans.

Downloading Models with Inference

is an open source, scalable system that you can use to directly integrate your model into your application logic, or to run a microservice on your hardware through which you can run your model. Inference is designed for scale: Roboflow uses Inference to power our hosted API which has run hundreds of millions of inferences.

Inference supports running models on CPU and GPU devices, from laptop computers to cloud servers to NVIDIA Jetsons to Raspberry Pis.

When you deploy your model with Inference, your model weights are downloaded onto your hardware for use. Your weights are downloaded when you first run a model and stored locally. Predictions are made using your device's local compute and images are not sent into Roboflow's cloud by default.

To learn more about deploying models with Inference, refer to the .

Downloading Weights for Embedded and Mobile Devices

Downloading model weights is only available on certain paid plans.

Some paid plans also include the ability do download model weights for use on devices that Roboflow does not yet natively support (like Android and the Raspberry Pi AI Kit).

From within the Roboflow Platform, simply use the "Download Weights" button on the Versions, Models, or Deployments pages of your Project once you've trained a model and you will receive a PyTorch .ptfile that you can convert for use with embedded devices.

Weights file download is available for Object Detection, Instance Segmentation, Classification and Keypoints Detection projects only.

You can also use the Roboflow Python package to download model weights. To do so, use the following code and substitute your Roboflow API key, project ID, and the version associated witht he model you want to download:

import roboflow

rf = roboflow.Roboflow(api_key="YOUR KEY HERE")
model = rf.workspace().project("PROJECT_ID").version("1").model
prediction = model.download()

Your model weights will be downloaded and available in your local directory as a weights.pt file.

Managed Compute
self-hosted Inference
Learn more about model licensing
Roboflow Inference
Inference documentation
Download Weights Button