Skip to content

Commit

Permalink
Merge pull request open-mmlab#94 from openvinotoolkit/fix/ik/avoid_re…
Browse files Browse the repository at this point in the history
…moving_word_spotting_from_metrics

avoid removing word spotting from metrics
  • Loading branch information
Ilya-Krylov authored Jan 25, 2021
2 parents 52a0a43 + 31d178c commit a107540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/datasets/coco_with_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def evaluate(self,
iou_thrs=np.arange(0.5, 0.96, 0.05),
score_thr=-1):

metrics = metric if isinstance(metric, list) else [metric]
metrics = list(metric) if isinstance(metric, list) else [metric]

computed_metrics = ['word_spotting']
removed_metrics = []
Expand Down

0 comments on commit a107540

Please sign in to comment.