From 8bbf8c78bf947d57c9da9f3d740dff3091cd755f Mon Sep 17 00:00:00 2001 From: Richard Liaw Date: Thu, 18 Jun 2020 01:09:46 -0700 Subject: [PATCH] fix --- spacy/cli/train_from_config.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/cli/train_from_config.py b/spacy/cli/train_from_config.py index 4f205a1b5..d89d60fae 100644 --- a/spacy/cli/train_from_config.py +++ b/spacy/cli/train_from_config.py @@ -589,7 +589,6 @@ def train_while_improving( raw_batches = util.minibatch( (nlp.make_doc(rt["text"]) for rt in raw_text), size=8 ) - for step, batch in enumerate(train_data): dropout = next(dropouts) with nlp.select_pipes(enable=to_enable):