This commit is contained in:
svlandeg 2020-09-17 16:36:27 +02:00
parent b57ce9a875
commit 35a3931064
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def debug_model_cli(
config_overrides = parse_config_overrides(ctx.args) config_overrides = parse_config_overrides(ctx.args)
with show_validation_error(config_path): with show_validation_error(config_path):
config = util.load_config(config_path, overrides=config_overrides) config = util.load_config(config_path, overrides=config_overrides)
nlp, config = util.load_model_from_config(config_path) nlp, config = util.load_model_from_config(config)
seed = config["training"]["seed"] seed = config["training"]["seed"]
if seed is not None: if seed is not None:
msg.info(f"Fixing random seed: {seed}") msg.info(f"Fixing random seed: {seed}")