PyCharm Docs Inspect fixes (#18432)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
ef16c56c99
commit
f7b9009c91
15 changed files with 52 additions and 50 deletions
|
|
@ -168,26 +168,26 @@ To integrate Weights & Biases with Ultralytics YOLO11:
|
|||
|
||||
1. Install the required packages:
|
||||
|
||||
```bash
|
||||
pip install -U ultralytics wandb
|
||||
```
|
||||
```bash
|
||||
pip install -U ultralytics wandb
|
||||
```
|
||||
|
||||
2. Log in to your Weights & Biases account:
|
||||
|
||||
```python
|
||||
import wandb
|
||||
```python
|
||||
import wandb
|
||||
|
||||
wandb.login(key="<API_KEY>")
|
||||
```
|
||||
wandb.login(key="<API_KEY>")
|
||||
```
|
||||
|
||||
3. Train your YOLO11 model with W&B logging enabled:
|
||||
|
||||
```python
|
||||
from ultralytics import YOLO
|
||||
```python
|
||||
from ultralytics import YOLO
|
||||
|
||||
model = YOLO("yolo11n.pt")
|
||||
model.train(data="coco8.yaml", epochs=5, project="ultralytics", name="yolo11n")
|
||||
```
|
||||
model = YOLO("yolo11n.pt")
|
||||
model.train(data="coco8.yaml", epochs=5, project="ultralytics", name="yolo11n")
|
||||
```
|
||||
|
||||
This will automatically log metrics, hyperparameters, and model artifacts to your W&B project.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue