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

Collect cum logs under their own heading #197

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

Conversation

singhblom
Copy link
Member

We rarely need the cumulative logs, but when they are needed it's really good to have. I have therefore hidden them all under a common cumulative/ heading in tb.

@tgolsson
Copy link
Member

Won't this be cumulative/abc/cumulative? Seems redundant.

Comment on lines +56 to 59
k_split[0] = f"cumulative/{k_split[0]}_{suffix}"
k = "/".join(k_split)

self._writer.add_scalar(f"{k}/cumulative", v, bp_step)
Copy link
Contributor

Choose a reason for hiding this comment

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

We could do "cumulative/{k}" when adding the scalar instead to avoid the duplication

Copy link
Member Author

Choose a reason for hiding this comment

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

I made it redundant so it would be easy to exclude when you search for it. But I am happy to skip it.

@singhblom
Copy link
Member Author

@docubot Please document

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.

None yet

3 participants