中文 | 한국어 | 日本語 | Русский | Deutsch | Français | Español | Português | Türkçe | Tiếng Việt | العربية
👋 Hello from the Ultralytics Team! We've been working hard these last few months to launch Ultralytics HUB, a new platform for training and deploying all your Ultralytics YOLOv5 and YOLOv8 🚀 models from one central location!
We hope that the resources here will help you get the most out of Ultralytics HUB. Please browse the Ultralytics HUB documentation for details, raise an issue on GitHub for support, and join our Discord community for questions and discussions!
Ultralytics HUB datasets align with the format used by YOLOv5 and YOLOv8. They adhere to the same structural and labeling conventions, ensuring a seamless experience for object detection, segmentation, and classification tasks.
Ensure that the YAML file describing your dataset is placed in the root directory of your dataset, as illustrated below. Once in place, zip the directory for uploading to Ultralytics HUB. The dataset YAML, its directory, and the zip file should all share the identical name.
For instance, with a dataset named 'coco8', as shown in ultralytics/hub/example_datasets/coco8.zip, include a coco8.yaml
within the coco8/
directory. Zip this directory to form coco8.zip
for upload using a command like:
# Zipping the dataset directory for upload
zip -r coco8.zip coco8
Explore the provided example_datasets/coco8.zip for insights on structuring your custom dataset. You can find more information on dataset formats in our datasets documentation.
The dataset YAML follows the established YOLOv5 and YOLOv8 format. For comprehensive instructions, refer to the Train Custom Data guide.
# YAML configuration example for custom datasets
path: ../datasets/coco8 # dataset root dir (can be relative or absolute)
train: images/train # train images (relative to 'path') 8 images
val: images/val # val images (relative to 'path') 8 images
test: # test images (optional)
# Class labels
names:
0: person
1: bicycle
2: car
3: motorcycle
# Add more classes as needed
Upload your zipped dataset to Ultralytics HUB by logging in, navigating to the 'Datasets' tab, and selecting 'Upload Dataset'. This allows you to scan and view your dataset prior to training YOLOv5 or YOLOv8 models.
Connect to the Ultralytics HUB notebook and use your API key to start model training! Ultralytics HUB offers streamlined cloud training options, making it easy to train models without local hardware constraints.
Transition your trained model to various formats using the Export mode, including TensorFlow, ONNX, OpenVINO, CoreML, PaddlePaddle, and more (13+ formats supported). Operate your models directly on your iOS or Android mobile device by downloading the Ultralytics App! Explore various model deployment options for edge devices and cloud platforms.
For those just starting their Ultralytics HUB journey, the GitHub Issues tab is your primary resource for support and bug reporting. Click the 'New Issue' button and share your thoughts, questions, or report problems. Our aim is to enhance your experience by providing valuable solutions and continuous improvements! 😃
We love contributions! ❤️ See our Contributing Guide for more details on how to get involved. Thank you to all our contributors!