microsoft / MLOps_VideoAnomalyDetection

Operationalize a video anomaly detection model with Azure ML
MIT License
130 stars 56 forks source link

got an unexpected keyword argument 'hyperdrive_run_config' #3

Closed guybartal closed 5 years ago

guybartal commented 5 years ago

hyperdrive_run_config was changed to hyperdrive_config, currently this line breaks inside pipeline_create.py

hd_step = HyperDriveStep(
        name="train_w_hyperdrive",
        hyperdrive_run_config=hdc,
        estimator_entry_script_arguments=[
            '--data-folder', preprocessed_data, 
            '--remote_execution',
            '--dataset', dataset
            ],
        inputs=[preprocessed_data],
        metrics_output = data_metrics,
        allow_reuse=True
    )
    hd_step.run_after(data_prep)

here's the error I get :

Exception has occurred: TypeError
__init__() got an unexpected keyword argument 'hyperdrive_run_config'
  File "C:\Users\gubert\Repos\MLOps_VideoAnomalyDetection\pipelines_create.py", line 203, in build_pipeline
    allow_reuse=True
  File "C:\Users\gubert\Repos\MLOps_VideoAnomalyDetection\pipelines_create.py", line 295, in <module>
    build_pipeline(dataset, ws, config)
wmpauli commented 5 years ago

Thanks. This is now fixed.