yolov5 icon indicating copy to clipboard operation
yolov5 copied to clipboard

Log results to Comet after training has ended

Open 9helix opened this issue 10 months ago β€’ 2 comments

Search before asking

  • [x] I have searched the YOLOv5 issues and discussions and found no similar questions.

Question

I trained a model before I installed comet_ml. Now that I have installed it, is there a way to upload the results of my previous training session to Comet without me having to retrain the model again in order for the yolov5 to automatiaclly log the data to Comet?

Additional

No response

9helix avatar May 30 '25 09:05 9helix

πŸ‘‹ Hello @9helix, thank you for your interest in YOLOv5 πŸš€! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

This is an automated response πŸ€–β€”an Ultralytics engineer will review your question and assist you soon.

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.

Requirements

Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:

git clone https://github.com/ultralytics/yolov5  # clone
cd yolov5
pip install -r requirements.txt  # install

Environments

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

Status

YOLOv5 CI If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.

UltralyticsAssistant avatar May 30 '25 09:05 UltralyticsAssistant

You can manually log your previous training results to Comet using the Comet Python SDK. Create a new experiment and use experiment.log_metric(), experiment.log_parameter(), and experiment.log_asset() to upload your saved metrics, hyperparameters, and model files from your training run's output directory.

pderrenger avatar May 30 '25 20:05 pderrenger

πŸ‘‹ Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

  • Docs: https://docs.ultralytics.com
  • HUB: https://hub.ultralytics.com
  • Community: https://community.ultralytics.com

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO πŸš€ and Vision AI ⭐

github-actions[bot] avatar Oct 10 '25 00:10 github-actions[bot]