comet-ml / issue-tracking

Questions, Help, and Issues for Comet ML
https://www.comet.ml
85 stars 7 forks source link

log_code=False disables log_git_metadata #428

Closed rgaiacs closed 11 months ago

rgaiacs commented 2 years ago

I used

comet_ml.Experiment(
        project_name="foo",
        workspace="username",
        log_code=False,
        log_git_metadata=True,
        log_git_patch=True
)

and my experiment reports says "No commit available".

When I change it to

comet_ml.Experiment(
        project_name="foo",
        workspace="username",
        log_code=True,  # Changed to True
        log_git_metadata=True,
        log_git_patch=True
)

I have the Git commit information.

dsblank commented 2 years ago

Thanks for the note, @rgaiacs ! We'll update our documentation.

robatscandit commented 1 year ago

I propose that this is not only a documentation issue. We would like to log the git metadata (commit hash etc.) but we don't want to log our codebase to comet.

robatscandit commented 1 year ago

This has been fixed in the latest release and can be closed imo.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 5 days with no activity.