Skip to content

TensorBoard error messages are not displayed when +quite=True #218

@sam31046

Description

@sam31046

Describe the bug

If you haven't installed tensorboard, it won't throw not installed error messages when specifying use_tensorboard=True and +quite=True during training.

To Reproduce

Steps to reproduce the behavior:

  1. Uninstall tensorboard
  2. Run
python yolo/lazy.py task=train task.data.batch_size=8 model=v9-s dataset={dataset_config} device={cpu, mps, cuda} use_tensorboard=True +quite=True  
  1. Not showing error message

Expected behavior

Error messages should be shown when +quite=True

Screenshots

If applicable, add screenshots to help explain your problem.

System Info

  • OS: Ubuntu 24.04.1 LTS
  • Python Version: 3.11
  • PyTorch Version: 2.7.1
  • CUDA/cuDNN/MPS Version: CUDA 12.8
  • YOLO Model Version: YOLOv9-s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions