Add logging [ci skip]

This commit is contained in:
Ines Montani 2020-09-30 01:08:55 +02:00
parent 95b2a448cf
commit 56a2f778c4
1 changed files with 1 additions and 0 deletions

View File

@ -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)