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.
46 lines
2.5 KiB
46 lines
2.5 KiB
2 years ago
|
## Models
|
||
2 years ago
|
|
||
2 years ago
|
Welcome to the Ultralytics Models directory! Here you will find a wide variety of pre-configured model configuration
|
||
|
files (`*.yaml`s) that can be used to create custom YOLO models. The models in this directory have been expertly crafted
|
||
|
and fine-tuned by the Ultralytics team to provide the best performance for a wide range of object detection and image
|
||
|
segmentation tasks.
|
||
|
|
||
|
These model configurations cover a wide range of scenarios, from simple object detection to more complex tasks like
|
||
|
instance segmentation and object tracking. They are also designed to run efficiently on a variety of hardware platforms,
|
||
|
from CPUs to GPUs. Whether you are a seasoned machine learning practitioner or just getting started with YOLO, this
|
||
|
directory provides a great starting point for your custom model development needs.
|
||
|
|
||
|
To get started, simply browse through the models in this directory and find one that best suits your needs. Once you've
|
||
|
selected a model, you can use the provided `*.yaml` file to train and deploy your custom YOLO model with ease. See full
|
||
2 years ago
|
details at the Ultralytics [Docs](https://docs.ultralytics.com/models), and if you need help or have any questions, feel free
|
||
2 years ago
|
to reach out to the Ultralytics team for support. So, don't wait, start creating your custom YOLO model now!
|
||
2 years ago
|
|
||
|
### Usage
|
||
|
|
||
2 years ago
|
Model `*.yaml` files may be used directly in the Command Line Interface (CLI) with a `yolo` command:
|
||
2 years ago
|
|
||
|
```bash
|
||
2 years ago
|
yolo task=detect mode=train model=yolov8n.yaml data=coco128.yaml epochs=100
|
||
2 years ago
|
```
|
||
|
|
||
2 years ago
|
They may also be used directly in a Python environment, and accepts the same
|
||
2 years ago
|
[arguments](https://docs.ultralytics.com/usage/cfg/) as in the CLI example above:
|
||
2 years ago
|
|
||
|
```python
|
||
|
from ultralytics import YOLO
|
||
|
|
||
2 years ago
|
model = YOLO("model.yaml") # build a YOLOv8n model from scratch
|
||
|
# YOLO("model.pt") use pre-trained model if available
|
||
2 years ago
|
model.info() # display model information
|
||
|
model.train(data="coco128.yaml", epochs=100) # train the model
|
||
|
```
|
||
2 years ago
|
|
||
|
## Pre-trained Model Architectures
|
||
|
|
||
2 years ago
|
Ultralytics supports many model architectures. Visit https://docs.ultralytics.com/models to view detailed information
|
||
|
and usage. Any of these models can be used by loading their configs or pretrained checkpoints if available.
|
||
2 years ago
|
|
||
2 years ago
|
## Contributing New Models
|
||
2 years ago
|
|
||
2 years ago
|
If you've developed a new model architecture or have improvements for existing models that you'd like to contribute to the Ultralytics community, please submit your contribution in a new Pull Request. For more details, visit our [Contributing Guide](https://docs.ultralytics.com/help/contributing).
|