mirror of https://github.com/explosion/spaCy.git
Fix stray link_vectors_to_models call
This commit is contained in:
parent
c7d1ece3eb
commit
97d3651574
|
@ -1615,8 +1615,6 @@ def _fix_pretrained_vectors_name(nlp: Language) -> None:
|
|||
nlp.vocab.vectors.name = vectors_name
|
||||
else:
|
||||
raise ValueError(Errors.E092)
|
||||
if nlp.vocab.vectors.size != 0:
|
||||
link_vectors_to_models(nlp.vocab)
|
||||
for name, proc in nlp.pipeline:
|
||||
if not hasattr(proc, "cfg"):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue