Remove unnecessary warning from train

This commit is contained in:
Matthew Honnibal 2020-09-29 16:47:54 +02:00
parent 3f0d61232d
commit e70a00fa76
1 changed files with 0 additions and 6 deletions

View File

@ -74,12 +74,6 @@ def init_pipeline(
else: else:
msg.good(f"Loaded initialized pipeline from {init_path}") msg.good(f"Loaded initialized pipeline from {init_path}")
return nlp return nlp
msg.warn(
"Not saving initialized model: no output directory specified. "
"To speed up training, spaCy can save the initialized nlp object with "
"the vocabulary, vectors and label scheme. To take advantage of this, "
"provide an output directory."
)
return init_nlp(config, **init_kwargs) return init_nlp(config, **init_kwargs)