Train a Model

Train a model using state-of-the-art technology in the Roboflow dashboard.

You can train computer vision models in the Roboflow interface.

Roboflow offers two training options:

  • Roboflow Custom Train: Our flagship training service, ideal for creating production-ready models.

  • Neural Architecture Search: Discover novel model architectures and fine tune at the same time.

Also, when you approve your first batch of image annotations, a Roboflow Instant Model is automatically trained. These models can be used immediately for auto labeling or deployment.

Models trained on Roboflow can be deployed with Inference, our on-device inference server, or in the cloud using our Serverless Hosted API with Workflows, Batch Processing with Workflows, or with your model API endpoint.

Read our licensing guidance to learn more about how models trained on Roboflow are licensed.

Train a Model

To train a computer vision model, visit "Train" in the project navigation.

Click the "Custom Training" button to start configuring a training job:

Neural Architecture Search (NAS)

For object detection and instance segmentation projects, you can use Neural Architecture Search (NAS) instead of selecting a single model architecture. NAS automatically trains and evaluates multiple model configurations, then recommends the best one based on your accuracy and latency requirements.

To use NAS, select the NAS option when choosing a training engine. NAS requires at least 15 validation images.

For more details on NAS training charts, see View Training Results.

Select a Model Architecture

Next, you need to select a model architecture and size. This is the machine learning technology used to train your model.

The model architectures you can train depend on the type of project you have set up. Refer to the Supported Models table for details on training compatibility.

For object detection, RF-DETR offers the best accuracy. For instance segmentation, RF-DETR Seg (Preview) offers the best accuracy.

Model sizes will vary depending on the architecture of the model you choose. For example, RF-DETR — a state-of-the-art object detection model — offers Nano, Small, Medium, and Base. Medium, Large, and Extra Large are available only to paid users. Training a SAM3 model is available on paid plans that include usage-based billing.

Choose an architecture available for your project type, then click "Continue":

Select a Checkpoint

After selecting a training option, you will be asked whether you want to train from a checkpoint. The tabs below show the configuration options for each model type.

You have three options:

  • Train from a Previous Checkpoint: Ideal for when you already have a working model that you want to improve.

  • Train from Public Checkpoint: Ideal for your first model version, or for when a previous training run did not achieve the expected results.

  • Train from Random Initialization: For advanced users only, this option gives you a blank slate from which to train. Most users see worse results when using this option.

How do I choose a training option?

We recommend training from a Public Checkpoint for new object detection projects. By default, we offer training from a model trained on the Microsoft COCO dataset. For classification and semantic segmentation, we only support training from an ImageNet.

You can train from checkpoints based on projects hosted on Universe (object detection only). To do so, first star a project in Universe. Then, the project will be available as a training checkpoint in the Roboflow web application.

Furthermore, you can train from a checkpoint based on a previous version of a model (object detection, instance segmentation, and keypoint detection only). This method allows for a faster training process. We only recommend training from a previous checkpoint for your model if your model achieves strong performance).

Training from a Checkpoint means that you are employing Transfer Learning. Transfer Learning will initialize your model training from the model you have selected. This can help to reduce training time, and provide you with improved training scores.

Training from Scratch means that you are not employing Transfer Learning. This will initialize your model training with randomized initial values for the model weights.

Start the Training Job

Once you have chosen a Checkpoint from which to train, click Start Training.

Your dataset will then be zipped and prepared for training in the Roboflow cloud.

Before training starts, the training summary shows estimated duration and credit cost:

The larger the dataset, and the larger the images in your dataset, the longer it will take for your model to train.

You will receive an email when the training process finishes. In most cases, this should be under 24 hours.

Pricing

Training on Roboflow is priced on the length of the train job. You can see more information on our credits page.

If you are a student or researcher and need credits for a project on which you are working, you can apply for additional credits.

Last updated

Was this helpful?