mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +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):
|
with show_validation_error(config_path):
|
||||||
config = util.load_config(config_path, overrides=overrides, interpolate=False)
|
config = util.load_config(config_path, overrides=overrides, interpolate=False)
|
||||||
msg.divider("Initializing pipeline")
|
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")
|
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
Block a user