diff --git a/spacy/cli/train.py b/spacy/cli/train.py index e8a422926..0b3e2580e 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -66,7 +66,7 @@ def init_pipeline( nlp.to_disk(init_path) msg.good(f"Saved initialized pipeline to {init_path}") else: - nlp = util.load_model(init_path).from_config(config) + nlp = util.load_model(init_path) if must_reinitialize(config, nlp.config): msg.warn("Config has changed: need to re-initialize pipeline") nlp = init_nlp(config, **init_kwargs)