Skip to content

Commit 1cf658b

Browse files
authored
Update VOCDataset.py (open-mmlab#7064)
1 parent ebf7476 commit 1cf658b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mmdet/datasets/voc.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def evaluate(self,
9292
mean_aps.append(mean_ap)
9393
eval_results[f'AP{int(iou_thr * 100):02d}'] = round(mean_ap, 3)
9494
eval_results['mAP'] = sum(mean_aps) / len(mean_aps)
95+
eval_results.move_to_end('mAP', last=False)
9596
elif metric == 'recall':
9697
gt_bboxes = [ann['bboxes'] for ann in annotations]
9798
recalls = eval_recalls(

0 commit comments

Comments
 (0)