1 year ago

#236474

test-img

Rich

How to force PythonScriptStep to run in Azure ML

I'm relatively new to Azure ML and trying to run a model via PythonScriptStep

I can publish pipelines and run the model. However, once it has run once I can't re-submit the step as it states "This run reused the output from a previous run".

My code declares allow_reuse to be False, but this doesn't seem to make a difference and I can simply not resubmit the step even though the underlying data is changing.

train_step = PythonScriptStep(
        name='model_train',
        script_name="model_train.py",
        compute_target=aml_compute,
        runconfig=pipeline_run_config,
        source_directory=train_source_dir,
        allow_reuse=False)

Many thanks for your help

azure

azure-pipelines

pipeline

azure-machine-learning-service

azuremlsdk

0 Answers

Your Answer

Accepted video resources