-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
featureIs an improvement or enhancementIs an improvement or enhancementhelp wantedOpen to be worked onOpen to be worked on
Description
🚀 Feature
a) Remove automatic reset after compute() in the Metric API.
b) Option to automatic log running averages instead of batch-wise results
Motivation
Some of the metrics normally used, such as 'Recall', 'Intersection over Union',... etc, make no sense if calculated for a small set of images. For example, in binary classification, a batch in which there is no positive case returns 0. However, running averages are much better in these cases. Lightning metrics are automatically reset after calling compute(). Why is this behavior? isn't better to allow calling compute() many times, allowing for example, to compute running averages in between. If at some point a reset is needed the reset() method can always be called.
YuxianMeng
Metadata
Metadata
Assignees
Labels
featureIs an improvement or enhancementIs an improvement or enhancementhelp wantedOpen to be worked onOpen to be worked on