Comet ML Docs - Fix link, naming and formatting (#16941)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
a622b404ef
commit
f87b92dbc3
1 changed files with 12 additions and 8 deletions
|
|
@ -50,17 +50,21 @@ After installing the required packages, you'll need to sign up, get a [Comet API
|
||||||
|
|
||||||
Then, you can initialize your Comet project. Comet will automatically detect the API key and proceed with the setup.
|
Then, you can initialize your Comet project. Comet will automatically detect the API key and proceed with the setup.
|
||||||
|
|
||||||
```python
|
!!! example "Initialize Comet project"
|
||||||
import comet_ml
|
|
||||||
|
|
||||||
comet_ml.login(project_name="comet-example-yolov8-coco128")
|
=== "Python"
|
||||||
```
|
|
||||||
|
```python
|
||||||
|
import comet_ml
|
||||||
|
|
||||||
|
comet_ml.login(project_name="comet-example-yolo11-coco128")
|
||||||
|
```
|
||||||
|
|
||||||
If you are using a Google Colab notebook, the code above will prompt you to enter your API key for initialization.
|
If you are using a Google Colab notebook, the code above will prompt you to enter your API key for initialization.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Before diving into the usage instructions, be sure to check out the range of [YOLO11 models offered by Ultralytics](../models/index.md). This will help you choose the most appropriate model for your project requirements.
|
Before diving into the usage instructions, be sure to check out the range of [YOLO11 models offered by Ultralytics](../models/yolo11.md). This will help you choose the most appropriate model for your project requirements.
|
||||||
|
|
||||||
!!! example "Usage"
|
!!! example "Usage"
|
||||||
|
|
||||||
|
|
@ -75,7 +79,7 @@ Before diving into the usage instructions, be sure to check out the range of [YO
|
||||||
# Train the model
|
# Train the model
|
||||||
results = model.train(
|
results = model.train(
|
||||||
data="coco8.yaml",
|
data="coco8.yaml",
|
||||||
project="comet-example-yolov8-coco128",
|
project="comet-example-yolo11-coco128",
|
||||||
batch=32,
|
batch=32,
|
||||||
save_period=1,
|
save_period=1,
|
||||||
save_json=True,
|
save_json=True,
|
||||||
|
|
@ -200,7 +204,7 @@ To integrate Comet ML with Ultralytics YOLO11, follow these steps:
|
||||||
```python
|
```python
|
||||||
import comet_ml
|
import comet_ml
|
||||||
|
|
||||||
comet_ml.login(project_name="comet-example-yolov8-coco128")
|
comet_ml.login(project_name="comet-example-yolo11-coco128")
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Train your YOLO11 model and log metrics**:
|
4. **Train your YOLO11 model and log metrics**:
|
||||||
|
|
@ -211,7 +215,7 @@ To integrate Comet ML with Ultralytics YOLO11, follow these steps:
|
||||||
model = YOLO("yolo11n.pt")
|
model = YOLO("yolo11n.pt")
|
||||||
results = model.train(
|
results = model.train(
|
||||||
data="coco8.yaml",
|
data="coco8.yaml",
|
||||||
project="comet-example-yolov8-coco128",
|
project="comet-example-yolo11-coco128",
|
||||||
batch=32,
|
batch=32,
|
||||||
save_period=1,
|
save_period=1,
|
||||||
save_json=True,
|
save_json=True,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue