-
Notifications
You must be signed in to change notification settings - Fork 411
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
MinMaxMetric for wrapping other metrics #49
Comments
Hi! thanks for your contribution!, great first issue! |
Hi @janhenriklambrechts are you still interested in sending a PR for this feature? |
Absolutely, you can assign it to me. |
@janhenriklambrechts Nice :] |
Thank you so much for the inspiration! Very useful! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Will only be able to work on it from beginning of July onward @SkafteNicki - is that OK? |
that is great! looking forward 🐰 |
@janhenriklambrechts any updates on this? :] |
Hi @SkafteNicki, completely lost track of this - I am starting this weekend! Thanks for pinging me :) |
@janhenriklambrechts no problem. Let me know if you need any help :] |
Right now I can't self.val_metric = torchmetrics.MetricCollection({
'acc': torchmetrics.Accuracy(),
'acc_best': torchmetrics.MinMaxMetric(torchmetrics.Accuracy())
}) because
and I get an error message
It would be great if we could have a
|
🚀 Feature
Motivation
MinMaxMetric
is a metric that simply wraps another metric (e.g.val_acc
) and creates a new metric that tracks themin
,max
or both values ofval_acc
.Pitch
max_val_acc
of a complete experiment in TensorBoard (instead of going through the graph manually to find the max value) but I can see other usecases as well.Additional context
MaxMetric
code implemented hereThe text was updated successfully, but these errors were encountered: