From 1b1a1af19373a30a8b07f0b6eebe0217566d8ff8 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 9 Dec 2018 06:03:49 +0100 Subject: [PATCH] Fix printing in spacy train --- spacy/cli/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index 66e5c14d5..f29beacc9 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -191,7 +191,7 @@ def train( row_head = ("Itn", "Dep Loss", "NER Loss", "UAS", "NER P", "NER R", "NER F", "Tag %", "Token %", "CPU WPS", "GPU WPS") row_settings = { "widths": (3, 10, 10, 7, 7, 7, 7, 7, 7, 7, 7), - "aligns": ["r" for i in row_head], + "aligns": tuple(["r" for i in row_head]), "spacing": 2 } # fmt: on