Skip to content

Commit

Permalink
fixed bug in config (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Jia committed Oct 15, 2022
1 parent c8bea40 commit b9f392e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen2/entrypoint/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def workflow_concurrent_learning(
collect_data_config = normalize_step_dict(config.get('collect_data_config', default_config)) if old_style else config['step_configs']['collect_data_config']
cl_step_config = normalize_step_dict(config.get('cl_step_config', default_config)) if old_style else config['step_configs']['cl_step_config']
upload_python_package = config.get('upload_python_package', None)
init_models_paths = config.get('training_iter0_model_path')
init_models_paths = config.get('training_iter0_model_path', None) if old_style else config['train'].get('training_iter0_model_path', None)

concurrent_learning_op = make_concurrent_learning_op(
train_style,
Expand Down

0 comments on commit b9f392e

Please sign in to comment.