How can we improve Microsoft Azure Machine Learning?

Add possibility to pass parameters to scoring script when deploying an image

When deploying an image to AML Service, the path of the scoring script is given to the method using the execution_script parameter: ContainerImage.image_configuration(execution_script='score.py', ...). However, there is no argument for passing values to script parameters, which are needed in the init() function to do stuff like fetching passwords from Key Vault and getting sample data for the schema.

Please add the possibility to pass parameters to the scoring script when deploying and image to AML Service. For example, when creating a Python script step in an AML Pipeline, we can add these parameters as follows: PythonScriptStep(script_name='train.py', arguments=['--workspace_name', 'MyWS', '--model_path', './my_model.pk']. A similar functionality is much needed for deployment as well.

5 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
Lauri Lehman shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
An error occurred while saving the comment

Feedback and Knowledge Base