Open anirbansaha96 opened 3 years ago
The workaround I use is:
curl -X POST [Pipeline_REST_Endpoint] -H "Authorization: Bearer $(az account get-access-token --query accessToken -o tsv)" -H "Content-Type: application/json" --data-binary @- <<DATA
{"ExperimentName": "[Exmperiment_NAME]",
"RunSource": "SDK",
"DataSetDefinitionValueAssignments": {"tabular_ds_param":
{"SavedDataSetReference":
{"Id":"[Dataset_ID]"}
}
}
}
DATA
Refers to: https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/machine-learning-pipelines/intro-to-pipelines/aml-pipelines-showcasing-dataset-and-pipelineparameter.ipynb
To submit a parameter in an az ml cli
run submit-pipeline
command we use the syntax:This will submit Datapaths and some string parameters with the pipeline. How do we submit Dataset references using az ml cli
run submit-pipeline
command?For example, the Documentation Notebook: aml-pipelines-showcasing-dataset-and-pipelineparameter
To submit a Dataset Class reference we do:
Using REST Call the syntax is:
What is the syntax to achieve this using
az ml cli
?az ml run submit-pipeline --datapaths tabular_ds_param=[datastore]/[registered-dataset] --experiment-name [exp-name]-exp --pipeline-id [pipeline-id] --resource-group $(AML_RG) --subscription-id $(AML_SUB_ID) --workspace-name $(AML_WS)
does not work.