For the complete documentation index, see llms.txt. This page is also available as Markdown.

Train a Model

You can start model training from the command line. Training runs on Roboflow's cloud infrastructure.

Command

roboflow train start -p <project> -v <version> -t <model-type>

Or use the shorthand (without start):

roboflow train -p <project> -v <version> -t <model-type>

Options

Flag
Description

-p, --project

Project ID (required)

-v, --version

Version number (required)

-t, --type

Model type, e.g. yolov8n, rfdetr-nano

--checkpoint

Checkpoint to resume training from

--speed

Training speed preset

--epochs

Number of training epochs

Examples

Start training with a specific model type:

roboflow train start -p my-detector -v 3 -t yolov8n

Resume from a checkpoint:

JSON Output

Last updated

Was this helpful?