"experiments/vscode:/vscode.git/clone" did not exist on "16363650d07c8efb6fcb602570b360b2f6e1f710"
Commit 056859fa authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TF Object Detection Team
Browse files

Change the order of list of metric dictionary keys to match the order returned by

ComputeMetrics - for ease of code reading.

PiperOrigin-RevId: 333575115
parent f05152f8
...@@ -1286,15 +1286,15 @@ class CocoMaskEvaluator(object_detection_evaluation.DetectionEvaluator): ...@@ -1286,15 +1286,15 @@ class CocoMaskEvaluator(object_detection_evaluation.DetectionEvaluator):
metric_names = ['DetectionMasks_Precision/mAP', metric_names = ['DetectionMasks_Precision/mAP',
'DetectionMasks_Precision/mAP@.50IOU', 'DetectionMasks_Precision/mAP@.50IOU',
'DetectionMasks_Precision/mAP@.75IOU', 'DetectionMasks_Precision/mAP@.75IOU',
'DetectionMasks_Precision/mAP (large)',
'DetectionMasks_Precision/mAP (medium)',
'DetectionMasks_Precision/mAP (small)', 'DetectionMasks_Precision/mAP (small)',
'DetectionMasks_Precision/mAP (medium)',
'DetectionMasks_Precision/mAP (large)',
'DetectionMasks_Recall/AR@1', 'DetectionMasks_Recall/AR@1',
'DetectionMasks_Recall/AR@10', 'DetectionMasks_Recall/AR@10',
'DetectionMasks_Recall/AR@100', 'DetectionMasks_Recall/AR@100',
'DetectionMasks_Recall/AR@100 (large)', 'DetectionMasks_Recall/AR@100 (small)',
'DetectionMasks_Recall/AR@100 (medium)', 'DetectionMasks_Recall/AR@100 (medium)',
'DetectionMasks_Recall/AR@100 (small)'] 'DetectionMasks_Recall/AR@100 (large)']
if self._include_metrics_per_category: if self._include_metrics_per_category:
for category_dict in self._categories: for category_dict in self._categories:
metric_names.append('DetectionMasks_PerformanceByCategory/mAP/' + metric_names.append('DetectionMasks_PerformanceByCategory/mAP/' +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment