-
Notifications
You must be signed in to change notification settings - Fork 412
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: Plotting of metrics #1328
Conversation
Something more general: Do we want to support smoothing? Especially for multiple timepoints this is often done to get a more general idea of the progress instead of spiky individual values (See tensorboard for example). |
I would be fine with supporting this :) |
What does this PR do?
Fixes #652
Fixes #1265
This PR adds basic plotting functionality to torchmetrics. Idea is that every modular implementation should have an
plot
method that can create a basic plot of the metric. Allplot
methods should have the signature:meaning that if no value is provided,
self.compute
is called. Additionally, either a single value can be provided or a list of values to plot a metric as it has progressed. Please try executing theexamples/plotting
for examples.This PR is meant as an proof-on-concept and when it (hopefully) gets merge we can follow up with adding the functionality to other metrics.
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃