You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 KiB

comments description keywords
true Explore Ultralytics HUB for easy training, analysis, preview, deployment and sharing of custom vision AI models using YOLOv8. Start training today!. Ultralytics HUB, YOLOv8, custom AI models, model training, model deployment, model analysis, vision AI

Ultralytics HUB Models

Ultralytics HUB models provide a streamlined solution for training vision AI models on custom datasets.

The process is user-friendly and efficient, involving a simple three-step creation and accelerated training powered by Ultralytics YOLOv8. During training, real-time updates on model metrics are available so that you can monitor each step of the progress. Once training is completed, you can preview your model and easily deploy it to real-world applications. Therefore, Ultralytics HUB offers a comprehensive yet straightforward system for model creation, training, evaluation, and deployment.


Watch: Ultralytics HUB Training and Validation Overview

Train Model

Navigate to the Models page by clicking on the Models button in the sidebar and click on the Train Model button on the top right of the page.

Ultralytics HUB screenshot of the Models page with an arrow pointing to the Models button in the sidebar and one to the Train Model button

??? tip

You can train a model directly from the [Home](https://hub.ultralytics.com/home) page.

![Ultralytics HUB screenshot of the Home page with an arrow pointing to the Train Model card](https://github.com/ultralytics/docs/releases/download/0/ultralytics-hub-train-model-card.avif)

This action will trigger the Train Model dialog which has three simple steps:

1. Dataset

In this step, you have to select the dataset you want to train your model on. After you selected a dataset, click Continue.

Ultralytics HUB screenshot of the Train Model dialog with an arrow pointing to a dataset and one to the Continue button

??? tip

You can skip this step if you train a model directly from the Dataset page.

![Ultralytics HUB screenshot of the Dataset page with an arrow pointing to the Train Model button](https://github.com/ultralytics/docs/releases/download/0/ultralytics-hub-dataset-page-train-model-button.avif)

2. Model

In this step, you have to choose the project in which you want to create your model, the name of your model and your model's architecture.

Ultralytics HUB screenshot of the Train Model dialog with arrows pointing to the project dropdown, model name and Continue button

??? note

Ultralytics HUB will try to pre-select the project.

If you opened the **Train Model** dialog as described above, [Ultralytics HUB](https://www.ultralytics.com/hub) will pre-select the last project you used.

If you opened the **Train Model** dialog from the Project page, [Ultralytics HUB](https://www.ultralytics.com/hub) will pre-select the project you were inside of.

![Ultralytics HUB screenshot of the Project page with an arrow pointing to the Train Model button](https://github.com/ultralytics/docs/releases/download/0/hub-train-model-button.avif)

In case you don't have a project created yet, you can set the name of your project in this step and it will be created together with your model.

!!! info

You can read more about the available [YOLOv8](https://docs.ultralytics.com/models/yolov8/) (and [YOLOv5](https://docs.ultralytics.com/models/yolov5/)) architectures in our documentation.

By default, your model will use a pre-trained model (trained on the COCO dataset) to reduce training time. You can change this behavior and tweak your model's configuration by opening the Advanced Model Configuration accordion.

Ultralytics HUB screenshot of the Train Model dialog with an arrow pointing to the Advanced Model Configuration accordion

!!! note

You can easily change the most common model configuration options (such as the number of epochs) but you can also use the **Custom** option to access all [Train Settings](https://docs.ultralytics.com/modes/train/#train-settings) relevant to [Ultralytics HUB](https://www.ultralytics.com/hub).



Watch: How to Configure Ultralytics YOLOv8 Training Parameters in Ultralytics HUB

Alternatively, you start training from one of your previously trained models by clicking on the Custom tab.

Ultralytics HUB screenshot of the Train Model dialog with an arrow pointing to the Custom tab

When you're happy with your model configuration, click Continue.

3. Train

In this step, you will start training you model.

??? note

When you are on this step, you have the option to close the **Train Model** dialog and start training your model from the Model page later.

![Ultralytics HUB screenshot of the Model page with an arrow pointing to the Start Training card](https://github.com/ultralytics/docs/releases/download/0/hub-cloud-training-model-page-start-training.avif)

Ultralytics HUB offers three training options:

a. Ultralytics Cloud

You need to upgrade to the Pro Plan in order to access Ultralytics Cloud.

Ultralytics HUB screenshot of the Train Model dialog

To train models using our Cloud Training solution, read the Ultralytics Cloud Training documentation.

b. Google Colab

To start training your model using Google Colab, follow the instructions shown in the Ultralytics HUB Train Model dialog or on the Google Colab notebook.

Open In Colab

Ultralytics HUB screenshot of the Train Model dialog with arrows pointing to instructions

When the training starts, you can click Done and monitor the training progress on the Model page.

Ultralytics HUB screenshot of the Train Model dialog with an arrow pointing to the Done button

Ultralytics HUB screenshot of the Model page of a model that is currently training

!!! note

In case the training stops and a checkpoint was saved, you can resume training your model from the Model page.

![Ultralytics HUB screenshot of the Model page with an arrow pointing to the Resume Training card](https://github.com/ultralytics/docs/releases/download/0/hub-train-model-resume-training.avif)

c. Bring your own agent


Watch: Bring your Own Agent model training using Ultralytics HUB

To start training your model using your own agent, follow the instructions shown in the Ultralytics HUB Train Model dialog.

Ultralytics HUB screenshot of the Train Model dialog with arrows pointing to instructions

Install the ultralytics package from PyPI.

pip install -U ultralytics

Next, use the Python code provided to start training the model.

When the training starts, you can click Done and monitor the training progress on the Model page.

Ultralytics HUB screenshot of the Train Model dialog with an arrow pointing to the Done button

Ultralytics HUB screenshot of the Model page of a model that is currently training

!!! note

In case the training stops and a checkpoint was saved, you can resume training your model from the Model page.

![Ultralytics HUB screenshot of the Model page with an arrow pointing to the Resume Training card](https://github.com/ultralytics/docs/releases/download/0/hub-train-model-resume-training-1.avif)

Analyze Model

After you train a model, you can analyze the model metrics.

The Train tab presents the most important metrics carefully grouped based on the task.

Ultralytics HUB screenshot of the Model page of a trained model

To access all model metrics, click on the Charts tab.

Ultralytics HUB screenshot of the Preview tab inside the Model page with an arrow pointing to the Charts tab

??? tip

Each chart can be enlarged for better visualization.

![Ultralytics HUB screenshot of the Train tab inside the Model page with an arrow pointing to the expand icon of one of the charts](https://github.com/ultralytics/docs/releases/download/0/hub-analyze-model-train-tab-expand-icon.avif)

![Ultralytics HUB screenshot of the Train tab inside the Model page with one of the charts expanded](https://github.com/ultralytics/docs/releases/download/0/hub-analyze-model-train-tab-expanded-chart.avif)

Furthermore, to properly analyze the data, you can utilize the zoom feature.

![Ultralytics HUB screenshot of the Train tab inside the Model page with one of the charts expanded and zoomed](https://github.com/ultralytics/docs/releases/download/0/hub-analyze-model-zoomed-chart.avif)

Preview Model

After you train a model, you can preview it by clicking on the Preview tab.

In the Test card, you can select a preview image from the dataset used during training or upload an image from your device.

Ultralytics HUB screenshot of the Preview tab inside the Model page with an arrow pointing to Charts tab and one to the Test card

!!! note

You can also use your camera to take a picture and run inference on it directly.

![Ultralytics HUB screenshot of the Preview tab inside the Model page with an arrow pointing to Camera tab inside the Test card](https://github.com/ultralytics/docs/releases/download/0/ultralytics-hub-preview-camera-tab.avif)

Furthermore, you can preview your model in real-time directly on your iOS or Android mobile device by downloading our Ultralytics HUB App.

Ultralytics HUB screenshot of the Deploy tab inside the Model page with arrow pointing to the Real-Time Preview card

Deploy Model

After you train a model, you can export it to 13 different formats, including ONNX, OpenVINO, CoreML, TensorFlow, Paddle and many others.

Ultralytics HUB screenshot of the Deploy tab inside the Model page with an arrow pointing to the Export card and all formats exported

??? tip

You can customize the export options of each format if you open the export actions dropdown and click on the **Advanced** option.

![Ultralytics HUB screenshot of the Deploy tab inside the Model page with an arrow pointing to the Advanced option of one of the formats](https://github.com/ultralytics/docs/releases/download/0/hub-deploy-model-advanced-option.avif)

!!! note

You can re-export each format if you open the export actions dropdown and click on the **Advanced** option.

You can also use our Inference API in production.

Ultralytics HUB screenshot of the Deploy tab inside the Model page with an arrow pointing to the Ultralytics Inference API card

Read the Ultralytics Inference API documentation for more information.

Share Model

!!! info

[Ultralytics HUB](https://www.ultralytics.com/hub)'s sharing functionality provides a convenient way to share models with others. This feature is designed to accommodate both existing [Ultralytics HUB](https://www.ultralytics.com/hub) users and those who have yet to create an account.

??? note

You have control over the general access of your models.

You can choose to set the general access to "Private", in which case, only you will have access to it. Alternatively, you can set the general access to "Unlisted" which grants viewing access to anyone who has the direct link to the model, regardless of whether they have an [Ultralytics HUB](https://www.ultralytics.com/hub) account or not.

Navigate to the Model page of the model you want to share, open the model actions dropdown and click on the Share option. This action will trigger the Share Model dialog.

Ultralytics HUB screenshot of the Model page with an arrow pointing to the Share option

??? tip

You can also share a model directly from the [Models](https://hub.ultralytics.com/models) page or from the Project page of the project where your model is located.

![Ultralytics HUB screenshot of the Models page with an arrow pointing to the Share option of one of the models](https://github.com/ultralytics/docs/releases/download/0/hub-share-model-2.avif)

Set the general access to "Unlisted" and click Save.

Ultralytics HUB screenshot of the Share Model dialog with an arrow pointing to the dropdown and one to the Save button

Now, anyone who has the direct link to your model can view it.

??? tip

You can easily click on the model's link shown in the **Share Model** dialog to copy it.

![Ultralytics HUB screenshot of the Share Model dialog with an arrow pointing to the model's link](https://github.com/ultralytics/docs/releases/download/0/hub-share-model-link.avif)

Edit Model

Navigate to the Model page of the model you want to edit, open the model actions dropdown and click on the Edit option. This action will trigger the Update Model dialog.

Ultralytics HUB screenshot of the Model page with an arrow pointing to the Edit option

??? tip

You can also edit a model directly from the [Models](https://hub.ultralytics.com/models) page or from the Project page of the project where your model is located.

![Ultralytics HUB screenshot of the Models page with an arrow pointing to the Edit option of one of the models](https://github.com/ultralytics/docs/releases/download/0/hub-edit-model-2.avif)

Apply the desired modifications to your model and then confirm the changes by clicking Save.

Ultralytics HUB screenshot of the Update Model dialog with an arrow pointing to the Save button

Delete Model

Navigate to the Model page of the model you want to delete, open the model actions dropdown and click on the Delete option. This action will delete the model.

Ultralytics HUB screenshot of the Model page with an arrow pointing to the Delete option

??? tip

You can also delete a model directly from the [Models](https://hub.ultralytics.com/models) page or from the Project page of the project where your model is located.

![Ultralytics HUB screenshot of the Models page with an arrow pointing to the Delete option of one of the models](https://github.com/ultralytics/docs/releases/download/0/hub-delete-model-2.avif)

!!! note

If you change your mind, you can restore the model from the [Trash](https://hub.ultralytics.com/trash) page.

![Ultralytics HUB screenshot of the Trash page with an arrow pointing to the Restore option of one of the models](https://github.com/ultralytics/docs/releases/download/0/ultralytics-hub-trash-restore-option.avif)