From 0f8739c7cb9c2e2b59766cfb51159e0ddef814d1 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 16 Mar 2019 16:04:15 +0100 Subject: [PATCH] Update train.py --- spacy/cli/train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index b97293b16..743fec9ea 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -211,8 +211,8 @@ def train( msg.text("Loaded pretrained tok2vec for: {}".format(components)) # fmt: off - row_head = ("Itn", "Dep Loss", "NER Loss", "UAS", "NER P", "NER R", "NER F", "Tag %", "Token %", "CPU WPS", "GPU WPS") - row_widths = (3, 10, 10, 7, 7, 7, 7, 7, 7, 7, 7) + row_head = ["Itn", "Dep Loss", "NER Loss", "UAS", "NER P", "NER R", "NER F", "Tag %", "Token %", "CPU WPS", "GPU WPS"] + row_widths = [3, 10, 10, 7, 7, 7, 7, 7, 7, 7, 7] if has_beam_widths: row_head.insert(1, "Beam W.") row_widths.insert(1, 7)