mirror of https://github.com/explosion/spaCy.git
Add logging [ci skip]
This commit is contained in:
parent
95b2a448cf
commit
56a2f778c4
|
@ -50,6 +50,7 @@ def train_cli(
|
||||||
msg.divider("Initializing pipeline")
|
msg.divider("Initializing pipeline")
|
||||||
with show_validation_error(config_path, hint_fill=False):
|
with show_validation_error(config_path, hint_fill=False):
|
||||||
nlp = init_nlp(config, use_gpu=use_gpu)
|
nlp = init_nlp(config, use_gpu=use_gpu)
|
||||||
|
msg.good("Initialized pipeline")
|
||||||
msg.divider("Training pipeline")
|
msg.divider("Training pipeline")
|
||||||
train(nlp, output_path, use_gpu=use_gpu, silent=False)
|
train(nlp, output_path, use_gpu=use_gpu, silent=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue