Skip to content

Log results to Comet after training has ended #13612

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

Open
1 task done
9helix opened this issue May 30, 2025 · 2 comments
Open
1 task done

Log results to Comet after training has ended #13612

9helix opened this issue May 30, 2025 · 2 comments
Labels
question Further information is requested

Comments

@9helix
Copy link

9helix commented May 30, 2025

Search before asking

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 9helix added the question Further information is requested label May 30, 2025
@UltralyticsAssistant
Copy link
Member

👋 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.

@9helix 9helix changed the title Log to commet after training Log results to Comet after training has ended May 30, 2025
@pderrenger
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants