Back to Ultralytics

Cloud Model Training

docs/en/platform/train/index.md

8.4.1217.4 KB
Original Source

Model Training

Ultralytics Platform provides comprehensive tools for training YOLO models, from organizing experiments to running cloud training jobs with real-time metrics streaming.

<p align="center"> <iframe loading="lazy" width="720" height="405" src="https://www.youtube.com/embed/bajkq0NrSN8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen> </iframe>

<strong>Watch:</strong> Get Started with Ultralytics Platform - Train

</p>

Overview

The Training section helps you:

  • Organize models into projects for easier management
  • Train on cloud GPUs with a single click
  • Monitor real-time metrics during training
  • Compare model performance across experiments
  • Export to 20 deployment formats (see supported formats)

<!-- screenshot -->

Workflow

mermaid
graph LR
    A[📁 Project]:::start --> B[⚙️ Configure]:::proc
    B --> C[🚀 Train]:::proc
    C --> D[📈 Monitor]:::proc
    D --> E[📦 Export]:::out

    classDef start fill:#4CAF50,color:#fff
    classDef proc fill:#2196F3,color:#fff
    classDef out fill:#9C27B0,color:#fff
StageDescription
ProjectCreate a workspace to organize related models
ConfigureSelect dataset, base model, and training parameters
TrainRun on cloud GPUs or your local hardware
MonitorView real-time loss curves and metrics
ExportConvert to 20 deployment formats (details)

Training Options

Ultralytics Platform supports multiple training approaches:

MethodDescriptionBest For
Cloud TrainingTrain on Ultralytics Cloud GPUsNo local GPU, scalability
Local TrainingTrain locally, stream metrics to the platformExisting hardware, privacy
Colab TrainingUse Google Colab with platform integrationFree GPU access

!!! tip "Automatic GPU Routing"

When you select a GPU cheaper than the RTX PRO 6000 and Ultralytics-managed capacity is free, the Platform runs
your job on an RTX PRO 6000 while still billing your selected GPU's hourly rate. Runs can finish sooner and cost
less than they would have on the selected GPU — the upgrade never adds time or cost.

GPU Options

Available GPUs for cloud training on Ultralytics Cloud:

{% include "macros/platform-gpu-table.md" %}

!!! info "GPU Tier Access"

B200 and B300 GPUs require a [Pro or Enterprise plan](../account/billing.md#plans). All other GPUs are available on all plans including Free.

!!! tip "Signup Credits"

New accounts receive signup credits for training. Check [Billing](../account/billing.md) for details.

Real-Time Metrics

During training, view live metrics across three subtabs:

mermaid
graph LR
    A[Charts]:::start --> B[Loss Curves]:::out
    A --> C[Task Metrics]:::out
    D[Console]:::start --> E[Live Logs]:::out
    D --> F[Error Detection]:::out
    G[System]:::start --> H[GPU, CPU & Memory]:::out
    G --> I[Network & Disk I/O]:::out

    classDef start fill:#4CAF50,color:#fff
    classDef out fill:#9C27B0,color:#fff
SubtabMetrics
ChartsTask metrics (mAP50, mAP50-95, precision, recall for detection), train/val losses, learning rate
ConsoleLive training logs with ANSI color and automatic error detection
SystemGPU utilization, GPU memory and temperature, CPU, RAM, network and disk I/O

!!! info "Automatic Checkpoints"

The best checkpoint (`best.pt`, the highest-fitness epoch) is uploaded to the Platform periodically **while
training runs** and again when the run ends, so download, export, and deployment always use the best epoch
produced so far. Cancelled runs keep the last checkpoint that finished uploading.

Quick Start

Get started with cloud training in under a minute:

=== "Cloud (UI)"

1. Create a project in the sidebar
2. Click **New Model**
3. Select a model, dataset, and GPU
4. Click **Start Training**

=== "Remote (CLI)"

```bash
export ULTRALYTICS_API_KEY="YOUR_API_KEY"
yolo train model=yolo26n.pt data=ul://username/datasets/my-dataset \
  epochs=100 project=username/my-project name=exp1
```

=== "Remote (Python)"

```python
from ultralytics import YOLO

model = YOLO("yolo26n.pt")
model.train(
    data="ul://username/datasets/my-dataset",
    epochs=100,
    project="username/my-project",
    name="exp1",
)
```

FAQ

How long does training take?

Training time depends on:

  • Dataset size (number of images)
  • Model size (n, s, m, l, x)
  • Number of epochs
  • GPU type selected

The current estimator predicts about 6 minutes for 1000 images, YOLO26n, 100 epochs on RTX PRO 6000, and about 2 minutes for 500 images, YOLO26n, 50 epochs on RTX 4090. Actual duration varies; use the live estimate in the training dialog for the selected dataset and configuration. See cost examples.

Can I train multiple models simultaneously?

Yes. Concurrent cloud training limits depend on your plan: Free allows 3, Pro allows 10, and Enterprise is unlimited. For additional parallel training, use remote training from multiple machines.

What happens if training fails?

If training fails:

  1. The model is marked failed and the compute instance is terminated
  2. The model page shows an error banner with the captured error, a link to the console output, and a Retry action that reopens the training dialog with the same configuration
  3. A run that stops reporting activity for several hours is automatically marked failed and its compute released
  4. If cloud compute had started, elapsed GPU time is charged; failures before compute starts have no GPU usage charge

How do I choose the right GPU?

ScenarioRecommended GPU
Most training jobsRTX PRO 6000
Large datasets or batch sizesH100 SXM or H200
Budget-consciousRTX 4090