From 61a4ef0b4649583863fba9c4c3892a43ba9506ea Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 13 Sep 2020 19:23:09 +0200 Subject: [PATCH] Fix syntax error --- spacy/training/loggers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/training/loggers.py b/spacy/training/loggers.py index 8be456235..66fe25ed6 100644 --- a/spacy/training/loggers.py +++ b/spacy/training/loggers.py @@ -38,10 +38,10 @@ def console_logger(): ) from None scores = [] for col in score_cols: - score = float(info["other_scores"].get(col, 0.0))) + score = float(info["other_scores"].get(col, 0.0)) if col != "speed": score *= 100 - scores.append("{0:.2f}".format(score) + scores.append("{0:.2f}".format(score)) data = ( [info["epoch"], info["step"]] + losses