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

feature/comet-logger #1

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

feature/comet-logger #1

wants to merge 6 commits into from

Conversation

japdubengsub
Copy link

@japdubengsub japdubengsub commented Aug 27, 2024

What's rest:

  • need to check DT
  • check if comet_ml.integration.pytorch.watch works
  • fix/refactor unit tests

src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved
src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved
src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved
src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved

return self._experiment

@override
@rank_zero_only
def log_hyperparams(self, params: Union[Dict[str, Any], Namespace]) -> None:
params = _convert_params(params)
params = _flatten_dict(params)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good that we don't flatten the dict anymore, did you see a difference in the reported parameters when running the examples?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for logged parameter:
comet_logger.log_hyperparams({"specific": {'param': {'subparam': "value"}}})

it will look:

name | value
specific | {"param": {"subparam": "value"}}

src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved
src/lightning/pytorch/loggers/comet.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants