Passing max_detection_thresholds
to MeanAveragePrecision
breaks the calculation
#1795
Labels
max_detection_thresholds
to MeanAveragePrecision
breaks the calculation
#1795
🐛 Bug
Passing
max_detection_thresholds
other than 100 toMeanAveragePrecision
causes.compute
to return -1 for mapTo Reproduce
Take the example at https://github.com/Lightning-AI/torchmetrics/blob/master/examples/detection_map.py but pass
max_detection_thresholds=[50]
toMeanAveragePrecision
Expected behavior
it should not return -1
The text was updated successfully, but these errors were encountered: