Skip to content

Commit 6e4035a

Browse files
author
Alessandro Nicolosi
committed
fixed minor error on metrics dict
1 parent 645d84a commit 6e4035a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

effdet/evaluation/detection_evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def evaluate(self):
294294
pascal_metrics[display_name] = metrics['per_class_precision'][idx]
295295
display_name = self._metric_prefix + 'PerformanceByCategory/Recall@{}IOU/{}'.format(
296296
self._matching_iou_threshold, category_name)
297-
pascal_metrics[display_name] = metrics['per_class_precision'][idx]
297+
pascal_metrics[display_name] = metrics['per_class_recall'][idx]
298298

299299
# Optionally add CorLoc metrics.classes
300300
if self._evaluate_corlocs:

0 commit comments

Comments
 (0)