mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
remove printing of config
This commit is contained in:
parent
61068e0fb1
commit
8353ca5a51
|
@ -44,7 +44,6 @@ def main(config_path, output_dir=None, n_iter=20, n_texts=2000, init_tok2vec=Non
|
||||||
|
|
||||||
print(f"Loading nlp model from {config_path}")
|
print(f"Loading nlp model from {config_path}")
|
||||||
nlp_config = Config().from_disk(config_path)
|
nlp_config = Config().from_disk(config_path)
|
||||||
print(f"config: {nlp_config}")
|
|
||||||
nlp, _ = util.load_model_from_config(nlp_config, auto_fill=True)
|
nlp, _ = util.load_model_from_config(nlp_config, auto_fill=True)
|
||||||
|
|
||||||
# ensure the nlp object was defined with a textcat component
|
# ensure the nlp object was defined with a textcat component
|
||||||
|
|
Loading…
Reference in New Issue
Block a user