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

New TB metric #2236

Closed
wants to merge 1 commit into from
Closed

New TB metric #2236

wants to merge 1 commit into from

Conversation

mpolson64
Copy link
Contributor

Summary:
Created a new, massively simplified TB metric with the intention of reaping the old TensorboardCurveMetric. The new version has much shorter source, circumvents the bespoke logic in CurveMetric (by opting to hew closer to the vanilla MapMetric), does not need the "get_ids_from_trials" function, cleanly separates log-reading from curve processing, and supports bulk_fetch_trial_data.

The new TensorboardMetric also has a new setting "smoothing" which emulates the behavior of the smoothing slider in the Tensorboard UI, which many users have requested.

Also, "curve_name" has been renamed "tag" to better reflect Tensorboard terminology.

Differential Revision: D53862120

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 29, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53862120

@codecov-commenter
Copy link

codecov-commenter commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 94.84%. Comparing base (fb7e30e) to head (2490680).

❗ Current head 2490680 differs from pull request most recent head 88da2ef. Consider uploading reports for the commit 88da2ef to get more accurate results

Files Patch % Lines
ax/metrics/tensorboard.py 85.71% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2236      +/-   ##
==========================================
- Coverage   94.85%   94.84%   -0.01%     
==========================================
  Files         467      467              
  Lines       46381    46472      +91     
==========================================
+ Hits        43993    44078      +85     
- Misses       2388     2394       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53862120

Summary:

Created a new, massively simplified TB metric with the intention of reaping the old TensorboardCurveMetric. The new version has much shorter source, circumvents the bespoke logic in CurveMetric (by opting to hew closer to the vanilla MapMetric), does not need the "get_ids_from_trials" function, cleanly separates log-reading from curve processing, and supports bulk_fetch_trial_data.

The new TensorboardMetric also has a new setting "smoothing" which emulates the behavior of the smoothing slider in the Tensorboard UI, which many users have requested.

Also, "curve_name" has been renamed "tag" to better reflect Tensorboard terminology.

Differential Revision: D53862120
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53862120

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 810fe05.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants