From f71bdaadde53f8abf8946daa935a49e0997cbfc1 Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Wed, 3 Apr 2019 23:16:18 +0200 Subject: [PATCH] Fix missing str to path conversion --- spacy/cli/train.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index 98457398fd0..0eea635140d 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -103,6 +103,7 @@ def train( train_path = util.ensure_path(train_path) dev_path = util.ensure_path(dev_path) meta_path = util.ensure_path(meta_path) + output_path = util.ensure_path(output_path) if raw_text is not None: raw_text = list(srsly.read_jsonl(raw_text)) if not train_path or not train_path.exists():