mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Show validation error during init
This commit is contained in:
parent
da30bae8a6
commit
0250bcf6a3
|
@ -48,7 +48,8 @@ def train_cli(
|
|||
with show_validation_error(config_path):
|
||||
config = util.load_config(config_path, overrides=overrides, interpolate=False)
|
||||
msg.divider("Initializing pipeline")
|
||||
nlp = init_pipeline(config, output_path, use_gpu=use_gpu)
|
||||
with show_validation_error(config_path, hint_fill=False):
|
||||
nlp = init_pipeline(config, output_path, use_gpu=use_gpu)
|
||||
msg.divider("Training pipeline")
|
||||
train(nlp, output_path, use_gpu=use_gpu, silent=False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user