Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Yolo8 colab output not a mess #12699

Open
1 of 2 tasks
satyrmipt opened this issue May 15, 2024 · 2 comments
Open
1 of 2 tasks

Make Yolo8 colab output not a mess #12699

satyrmipt opened this issue May 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@satyrmipt
Copy link

Search before asking

  • I have searched the YOLOv8 issues and found no similar feature requests.

Description

Have you ever seen how yolo train process output looks in Google Colab?
Could you make table with intermediate results more stuctured?
Capture

Use case

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@satyrmipt satyrmipt added the enhancement New feature or request label May 15, 2024
Copy link

👋 Hello @satyrmipt, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered.

If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.

Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users.

Install

Pip install the ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.

pip install ultralytics

Environments

YOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

Ultralytics CI

If this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit.

@glenn-jocher
Copy link
Member

Hi there! Thanks for reaching out with your feedback on the YOLOv8 outputs in Google Colab.

I understand your concern about the structure of the output tables during training. Enhancing readability is indeed crucial, especially for monitoring model progress effectively.

A quick tip to improve the current display in Colab might involve using Python’s rich library to print more visually structured tables. Here is a small example of how you could format the output more neatly:

from rich.console import Console
from rich.table import Table

console = Console()

table = Table(show_header=True, header_style="bold magenta")
table.add_column("Epoch", style="dim", width=12)
table.add_column("Loss")
table.add_column("Accuracy", justify="right")

# Assuming you fetch these values from the training process
table.add_row("1", "0.456", "85%")
table.add_row("2", "0.342", "88%")
table.add_row("3", "0.310", "90%")

console.print(table)

This approach should streamline the visual presentation of your logs in Colab. If you have more suggestions or need further modifications, please feel free to share! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants