mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-11 00:32:40 +03:00
Fix loop
This commit is contained in:
parent
60661ab0fa
commit
97c86072e5
|
@ -221,6 +221,7 @@ def train_while_improving(
|
||||||
exclude=exclude,
|
exclude=exclude,
|
||||||
annotates=annotating_components,
|
annotates=annotating_components,
|
||||||
)
|
)
|
||||||
|
if use_rehearse:
|
||||||
nlp.rehearse(
|
nlp.rehearse(
|
||||||
subbatch,
|
subbatch,
|
||||||
losses=losses,
|
losses=losses,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user