Docs Ruff codeblocks reformat and fix (#12847)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-05-19 19:13:04 +02:00 committed by GitHub
parent be5cf7a033
commit 68031133fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 167 additions and 178 deletions

View file

@ -39,15 +39,15 @@ TensorBoard is conveniently pre-installed with YOLOv8, eliminating the need for
For detailed instructions and best practices related to the installation process, be sure to check our [YOLOv8 Installation guide](../quickstart.md). While installing the required packages for YOLOv8, if you encounter any difficulties, consult our [Common Issues guide](../guides/yolo-common-issues.md) for solutions and tips.
## Configuring TensorBoard for Google Collab
## Configuring TensorBoard for Google Colab
When using Google Colab, it's important to set up TensorBoard before starting your training code:
!!! Example "Configure TensorBoard for Google Collab"
!!! Example "Configure TensorBoard for Google Colab"
=== "Python"
```python
```ipython
%load_ext tensorboard
%tensorboard --logdir path/to/runs
```