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

[Fix] add Config hyperparameters for clearml backend #1559

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gntoni
Copy link

@gntoni gntoni commented Jul 3, 2024

Motivation

This PR allows to have better logging of hyperparameters when using ClearML backend.

Modification

Currently, the clearml viz backend add_cfg() function calls Task.connect_configuration()).
As stated in the clearml documentation this will save the cfg file as a blog. This is useful for logging purposes but not much use beyond that.

By saving it with Task.set_parameters_as_dict() instead, clearml will be aware of the internal structure of the config dictionary and the hyperparameters in it can be used for visualization and evaluation (i.e. we can compare experiments with respect to their hyperparameters)

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDetection or MMPretrain.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@CLAassistant
Copy link

CLAassistant commented Jul 3, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants