Docs updates and improvements (#8183)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Priytosh Tripathi <priytosh.revolution@live.com>
This commit is contained in:
parent
863c788f67
commit
22feb682d4
10 changed files with 155 additions and 142 deletions
|
|
@ -1,91 +1,89 @@
|
|||
---
|
||||
comments: true
|
||||
description: Learn how to use Ultralytics HUB models for efficient and user-friendly AI model training. For easy model creation, training, evaluation and deployment, follow our detailed guide.
|
||||
description: Learn how to efficiently train AI models using Ultralytics HUB, a streamlined solution for model creation, training, evaluation, and deployment.
|
||||
keywords: Ultralytics, HUB Models, AI model training, model creation, model training, model evaluation, model deployment
|
||||
---
|
||||
|
||||
# Ultralytics HUB Models
|
||||
|
||||
[Ultralytics HUB](https://hub.ultralytics.com/) models provide a streamlined solution for training vision AI models on your custom datasets.
|
||||
[Ultralytics HUB](https://hub.ultralytics.com/) 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.
|
||||
The process is user-friendly and efficient, involving a simple three-step creation and accelerated training powered by Ultralytics YOLOv8. Real-time updates on model metrics are available during training, allowing users to monitor progress at each step. Once training is completed, models can be previewed and easily deployed to real-world applications. Therefore, Ultralytics HUB offers a comprehensive yet straightforward system for model creation, training, evaluation, and deployment.
|
||||
|
||||
The entire process of training a Model is detailed on our [Cloud Training Page](cloudtraining.md)
|
||||
The entire process of training a model is detailed on our [Cloud Training Page](cloud-training.md).
|
||||
|
||||

|
||||
|
||||
## Train Model
|
||||
|
||||
Navigate to the [Models](https://hub.ultralytics.com/models) page by clicking on the **Models** button in the sidebar.
|
||||
Training the Model using HUB is a 4 step process <br />
|
||||
**Execute the pre-requisites script** - Run the already mention scripts to prepare the virtual Environment.<br />
|
||||
**Provide the API and start Training** - Once the model has been prepared, we can provide the API key as provided in the previous model (by simple copying and pasting the code block) and executing it.<br />
|
||||
**Check the results and Metrics** - Upon successful code execution, a link is presented that directs the user to the Metrics Page. This page provides comprehensive details regarding the trained model, including model specifications, box loss, class loss, object loss, dataset information, and image distributions. Additionally, the deploy tab offers access to the trained model's documentation and license details.<br />
|
||||
**Test your model** - Ultralytics HUB offers testing the model using custom Image, device camera or even links to test it using your `iPhone` or `Android` device.<br />
|
||||
|
||||
Training a model using HUB is a 4-step process:
|
||||
|
||||
- **Execute the pre-requisites script**: Run the provided scripts to prepare the virtual environment.
|
||||
- **Provide the API and start Training**: Once the model is prepared, provide the API key as instructed and execute the code block.
|
||||
- **Check the results and Metrics**: Upon successful execution, a link is provided to the Metrics Page. This page offers comprehensive details on the trained model, including specifications, loss metrics, dataset information, and image distributions. Additionally, the 'Deploy' tab provides access to the trained model's documentation and license details.
|
||||
- **Test your model**: Ultralytics HUB offers testing using custom images, device cameras, or links to test on `iPhone` or `Android` devices.
|
||||
|
||||

|
||||
|
||||
??? tip "Tip"
|
||||
!!! tip "Tip"
|
||||
|
||||
You can also train a model directly from the [Home](https://hub.ultralytics.com/home) page.
|
||||
|
||||

|
||||
|
||||
Click on the **Train Model** button on the top right of the page. This action will trigger the **Train Model** dialog.
|
||||
Click on the **Train Model** button on the top right of the page to trigger the **Train Model** dialog.
|
||||
|
||||
The **Train Model** dialog has three simple steps, explained below.
|
||||
The **Train Model** dialog 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**.
|
||||
Select the dataset for training and click **Continue**.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
Choose the project, model name, and architecture. Read more about available architectures in our [YOLOv8](https://docs.ultralytics.com/models/yolov8) (and [YOLOv5](https://docs.ultralytics.com/models/yolov5)) documentation.
|
||||
|
||||
!!! Info "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.
|
||||
|
||||
When you're happy with your model configuration, click **Continue**.
|
||||
Click **Continue** when satisfied with the configuration.
|
||||
|
||||

|
||||
|
||||
??? note "Note"
|
||||
!!! note "Note"
|
||||
|
||||
By default, your model will use a pre-trained model (trained on the [COCO](https://docs.ultralytics.com/datasets/detect/coco) dataset) to reduce training time.
|
||||
|
||||
You can change this behavior by opening the **Advanced Options** accordion.
|
||||
Advanced options are available to modify this behavior.
|
||||
|
||||
## Preview Model
|
||||
|
||||
Ultralytics HUB offers a variety of ways to preview your trained model.
|
||||
Ultralytics HUB offers various ways to preview trained models.
|
||||
|
||||
You can preview your model if you click on the **Preview** tab and upload an image in the **Test** card.
|
||||
You can upload an image in the **Test** card under the **Preview** tab to preview your model.
|
||||
|
||||

|
||||
|
||||
You can also use our Ultralytics Cloud API to effortlessly [run inference](inference-api.md) with your custom model.
|
||||
Use our Ultralytics Cloud API to effortlessly [run inference](inference-api.md) with your custom model.
|
||||
|
||||

|
||||
|
||||
Furthermore, you can preview your model in real-time directly on your [iOS](https://apps.apple.com/xk/app/ultralytics/id1583935240) or [Android](https://play.google.com/store/apps/details?id=com.ultralytics.ultralytics_app) mobile device by [downloading](https://ultralytics.com/app_install) our [Ultralytics HUB Mobile Application](app/index.md).
|
||||
Preview your model in real-time on your [iOS](https://apps.apple.com/xk/app/ultralytics/id1583935240) or [Android](https://play.google.com/store/apps/details?id=com.ultralytics.ultralytics_app) device by [downloading](https://ultralytics.com/app_install) our [Ultralytics HUB Mobile Application](app/index.md).
|
||||
|
||||

|
||||

|
||||
|
||||
## Train the model
|
||||
|
||||
Ultralytics HUB offers three training options:
|
||||
|
||||
- **Ultralytics Cloud** - Read more about training via Ultralytics Cloud [Cloud Training Page](cloudtraining.md)
|
||||
- **Ultralytics Cloud** - Learn more about training via the Ultralytics [Cloud Training Page](cloud-training.md)
|
||||
- **Google Colab**
|
||||
- **Bring your own agent**
|
||||
|
||||
## Training the Model on Google Colab
|
||||
|
||||
To start training your model using Google Colab, simply follow the instructions shown above or on the Google Colab notebook.
|
||||
To start training using Google Colab, follow the instructions on the Google Colab notebook.
|
||||
|
||||
<a href="https://colab.research.google.com/github/ultralytics/hub/blob/master/hub.ipynb" target="_blank">
|
||||
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">
|
||||
|
|
@ -95,46 +93,38 @@ To start training your model using Google Colab, simply follow the instructions
|
|||
|
||||
## Bring your own Agent
|
||||
|
||||
A user can create API end point through Ultralytics HUB and use their own agent to train the Model locally. Simply follow the steps on the section and then we can see the details of the training by a link generated on the terminal on the Agent. <br />
|
||||
The link takes us to the Metrics Information and Deployment completion page to know more about the model and deploy / share it.
|
||||
Create an API endpoint through Ultralytics HUB to train the Model locally. Follow the provided steps, and access training details via the link generated on the Agent terminal.
|
||||
|
||||

|
||||
|
||||
## Deploy Model
|
||||
|
||||
You can export your model to 13 different formats, including ONNX, OpenVINO, CoreML, TensorFlow, Paddle and many others.
|
||||
Export your model to 13 different formats, including ONNX, OpenVINO, CoreML, TensorFlow, Paddle, and more.
|
||||
|
||||

|
||||
|
||||
## Share Model
|
||||
|
||||
!!! Info "Info"
|
||||
Ultralytics HUB's sharing functionality provides a convenient way to share models. Control the general access of your models, setting them to "Private" or "Unlisted".
|
||||
|
||||
Ultralytics HUB's sharing functionality provides a convenient way to share models with others. This feature is designed to accommodate both existing Ultralytics HUB users and those who have yet to create an account.
|
||||
|
||||
??? note "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 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.
|
||||
Navigate to the Model page, open the model actions dropdown, and click on the **Share** option.
|
||||
|
||||

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

|
||||
|
||||
Now, anyone who has the direct link to your model can view it.
|
||||
Now, anyone with the direct link can view your model.
|
||||
|
||||
??? tip "Tip"
|
||||
!!! tip "Tip"
|
||||
|
||||
You can easily click on the model's link shown in the **Share Model** dialog to copy it.
|
||||
Easily copy the model's link shown in the **Share Model** dialog by clicking on it.
|
||||
|
||||

|
||||
|
||||
## Edit and Delete 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. 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.
|
||||
Navigate to the Model page, open the model actions dropdown, and click on the **Edit** option to update the model. To delete the model, select the **Delete** option.
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue