Update to lowercase MkDocs admonitions (#15990)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
MatthewNoyce 2024-09-06 16:33:26 +01:00 committed by GitHub
parent ce24c7273e
commit c2b647a768
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
133 changed files with 529 additions and 521 deletions

View file

@ -24,7 +24,7 @@ The output of an instance segmentation model is a set of masks or contours that
<strong>Watch:</strong> Run Segmentation with Pre-Trained Ultralytics YOLOv8 Model in Python.
</p>
!!! Tip "Tip"
!!! tip
YOLOv8 Segment models use the `-seg` suffix, i.e. `yolov8n-seg.pt` and are pretrained on [COCO](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg/datasets/coco.yaml).
@ -49,7 +49,7 @@ YOLOv8 pretrained Segment models are shown here. Detect, Segment and Pose models
Train YOLOv8n-seg on the COCO128-seg dataset for 100 epochs at image size 640. For a full list of available arguments see the [Configuration](../usage/cfg.md) page.
!!! Example
!!! example
=== "Python"
@ -87,7 +87,7 @@ YOLO segmentation dataset format can be found in detail in the [Dataset Guide](.
Validate trained YOLOv8n-seg model accuracy on the COCO128-seg dataset. No argument need to passed as the `model`
retains its training `data` and arguments as model attributes.
!!! Example
!!! example
=== "Python"
@ -121,7 +121,7 @@ retains its training `data` and arguments as model attributes.
Use a trained YOLOv8n-seg model to run predictions on images.
!!! Example
!!! example
=== "Python"
@ -149,7 +149,7 @@ See full `predict` mode details in the [Predict](../modes/predict.md) page.
Export a YOLOv8n-seg model to a different format like ONNX, CoreML, etc.
!!! Example
!!! example
=== "Python"
@ -183,7 +183,7 @@ See full `export` details in the [Export](../modes/export.md) page.
To train a YOLOv8 segmentation model on a custom dataset, you first need to prepare your dataset in the YOLO segmentation format. You can use tools like [JSON2YOLO](https://github.com/ultralytics/JSON2YOLO) to convert datasets from other formats. Once your dataset is ready, you can train the model using Python or CLI commands:
!!! Example
!!! example
=== "Python"
@ -217,7 +217,7 @@ Ultralytics YOLOv8 is a state-of-the-art model recognized for its high accuracy
Loading and validating a pretrained YOLOv8 segmentation model is straightforward. Here's how you can do it using both Python and CLI:
!!! Example
!!! example
=== "Python"
@ -245,7 +245,7 @@ These steps will provide you with validation metrics like Mean Average Precision
Exporting a YOLOv8 segmentation model to ONNX format is simple and can be done using Python or CLI commands:
!!! Example
!!! example
=== "Python"