mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-31 03:34:07 +03:00
fix
This commit is contained in:
parent
c865d833dc
commit
8bbf8c78bf
|
@ -589,7 +589,6 @@ def train_while_improving(
|
||||||
raw_batches = util.minibatch(
|
raw_batches = util.minibatch(
|
||||||
(nlp.make_doc(rt["text"]) for rt in raw_text), size=8
|
(nlp.make_doc(rt["text"]) for rt in raw_text), size=8
|
||||||
)
|
)
|
||||||
|
|
||||||
for step, batch in enumerate(train_data):
|
for step, batch in enumerate(train_data):
|
||||||
dropout = next(dropouts)
|
dropout = next(dropouts)
|
||||||
with nlp.select_pipes(enable=to_enable):
|
with nlp.select_pipes(enable=to_enable):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user