microsoft / solution-accelerator-many-models

MIT License
193 stars 85 forks source link

'add_parallel_run_step_dependencies' error #83

Closed barrettlayman closed 4 years ago

barrettlayman commented 4 years ago

When I execute the following code in 02b_Train_AutoML.ipynb, I receive an unexpected keyword argument.

I tried upgrading azureml.contrib.pipeline.steps ( on 1.7.0 ), and it did not resolve the error.

from azureml.contrib.pipeline.steps import ParallelRunStep

parallel_run_step = ParallelRunStep( name="many-models-training", parallel_run_config=parallel_run_config, allow_reuse = False, inputs=[filedst_all_models], # train 10 models

inputs=[filedst_all_models_inputs], # switch to this inputs if train all 11,973 models

output=output_dir,
models=[],
arguments=[],
add_parallel_run_step_dependencies=False

)

Error description


TypeError Traceback (most recent call last)

in 10 models=[], 11 arguments=[], ---> 12 add_parallel_run_step_dependencies=False 13 ) TypeError: __init__() got an unexpected keyword argument 'add_parallel_run_step_dependencies'