Skip to content

Commit

Permalink
use f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
irvingzhang0512 committed Jan 19, 2021
1 parent 3fedf09 commit 17c7664
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def evaluate(self):
mean_corloc,
) = self._evaluation.evaluate()

metric = 'mAP@{}IOU'.format(self._matching_iou_threshold)
metric = f'mAP@{self._matching_iou_threshold}IOU'
pascal_metrics = {self._metric_prefix + metric: mean_ap}
if self._evaluate_corlocs:
pascal_metrics[self._metric_prefix +
Expand Down

0 comments on commit 17c7664

Please sign in to comment.