Roboflow Docs
DashboardResourcesProducts
  • Product Documentation
  • Developer Reference
  • Changelog
  • Developer Tools
  • Authentication
    • Find Your Roboflow API Key
    • Scoped API Keys
    • Workspace and Project IDs
  • Command Line Interface (CLI)
    • Using the CLI
    • Installation and Authentication
    • Download a Dataset
    • Upload Dataset
    • Run a Model on an Image
  • REST API
    • REST API Structure
    • Authenticate
    • Workspaces
  • Workspace Image Query
  • Projects
    • Initialize
    • Project Folders API
    • Create
  • Batches
  • Annotation Jobs
  • Images
    • Upload Images
    • Image Details
    • Remove Images
    • Upload Dataset
    • Upload an Annotation
    • Search
    • Tags
  • Versions
    • Create a Project Version
    • View a Version
  • Train a Model
  • Export Data
  • Inference
  • Annotation Insights
    • Annotation Insights (Legacy Endpoint)
  • Model Monitoring
    • Stats
    • Custom Metadata
  • Python SDK
    • Using the Python SDK
  • Authenticate
  • iOS SDK
    • Using the iOS SDK
Powered by GitBook
On this page

Was this helpful?

  1. Command Line Interface (CLI)

Download a Dataset

PreviousInstallation and AuthenticationNextUpload Dataset

Last updated 4 days ago

Was this helpful?

If your project has a saved version, you can download the images+annotations for that version using the command line.

Command to download:

roboflow download -f <format> -l <download-location> <datasetUrl>

where:

  • <format> is one of the supported dataset formats (like voc, yolov9, darknet, etc). See roboflow download --help for the full list of supported formats.

  • <download-location> is the local path to download the thing in your computer

  • <datasetUrl> is the path to locate the dataset version on roboflow: <workspaceId>/<projectId>/<versionNumber>. Which, in the example above, would be tonyprivate/hand-gestures-fsph8/1

So a concrete example would be:

roboflow download -f voc -l ./my-dataset tonyprivate/hand-gestures-fsph8/1

And you can also use the same command to download datasets publicly available on roboflow universe, like

roboflow download -f voc -l ./chess-dataset joseph-nelson/chess-pieces-new/25
Joseph's chess dataset