Questions tagged [azureml-python-sdk]
The azureml-python-sdk tag has no usage guidance.
azureml-python-sdk
112
questions with no upvoted or accepted answers
8
votes
0
answers
1k
views
Getting error Missing required package "azureml-dataset-runtime" in VSCode
I am trying to setup my virtual environment for Azure in VS Code. I have installed the required packages, e.g., azureml-core and azureml-widgets and azureml-dataset-runtime. Both azureml-core and ...
4
votes
1
answer
222
views
AzureML Batch endpoint invocation: Failed to load dataset definition with azureml-dataprep==4.12.9
Context
Images are uploaded to a folder in Blob storage. An AzureML Data asset is created pointing to that folder, and it is used as data input when invoking a batch inference endpoint in AzureML.
The ...
4
votes
1
answer
1k
views
How to store the output dataframe/data of an azure ml job as a data asset
I've been following this "tutorial" by azure on how to create an end to end pipeline in azure: https://github.com/Azure/azureml-examples/blob/main/tutorials/e2e-ds-experience/e2e-ml-workflow....
3
votes
0
answers
429
views
Authentication unavailable when i load data_asset with MLTABLE in Azure ML SDK Python2
credential = DeviceCodeCredential()
ml_client = MLClient(credential,
auth_subscription_id,
auth_resource_group,
...
3
votes
0
answers
563
views
How to pass a string through pipeline steps azureml sdk v2?
There is a way to pass a string from a pipeline step to another in azure machine learning sdk v2? E.g.:
def step_1(<inputs>):
var: str = 'lorem ipsum'
<function>
return var # ...
3
votes
0
answers
282
views
How to copy data directly from Azure blob storage to compute instance SSD?
In order to speed up model training in Azure ML, I am using Azure DataReference's as_download() functionality to download the data from blob storage to a compute instance, instead of mounting. To do ...
3
votes
2
answers
489
views
AzureML webservice deployment with custom Environment - /var/runit does not exist
I'm struggling to deploy a model with a custom environment through the azureml SDK.
I have built a docker image locally and pushed it to azure container registry to use it for environment ...
2
votes
1
answer
737
views
Azure Machine Learning Service writing to AzureDataLakeGen2Datastore
I registered an azure storage account gen2 where datalake filesystem enabled as a datastore as
_ = Datastore.register_azure_data_lake_gen2(workspace='xxx',
...
2
votes
0
answers
2k
views
Azure ML Python SDK Installation Issue
Environment: Windows 10 64bit
Issue: Can successfully install the azureml-core, azureml-widgets, azureml-mlflow with 1.35.0 version. However, when I tried to install the azureml-pipeline package with ...
2
votes
0
answers
684
views
How to deploy a detectron2 model using file in azureML
I have a detectron2 detection model trained and saved ( by someone else ) as a file model.pth, I also have a cfg.yaml file that specifies the weights path as the path to model.pth as follows :
inside ...
2
votes
0
answers
347
views
How can I retrieve a list of all scheduled pipelines with their associated pipeline parameters using the azureml python SDK?
Using the AzureML python SDK, I can get a list of all scheduled pipelines.
Schedule.list(workspace)
This returns a list of Schedule objects, with attributes such as their name, recurrence and ...
2
votes
2
answers
622
views
AzureML Authentication for registering datasets using azureml.core.dataset
I am trying to register a data set programmatically using azurecli authentication
What I tried
authentication = AzureCliAuthentication()
workspace = Workspace.from_config( "config.json"), ...
1
vote
0
answers
54
views
Azureml studio Unable to start connection test getting ValidationError: Required metadata property ContainerName is missing
In Azureml studio i go into service connection and try to test the connection using Microsoft Entra but getting " Required metadata property ContainerName is missing."
however when i go ...
1
vote
0
answers
164
views
Connection Default_AzureOpenAI not found Azure AI Studio
**Update: It's a shame Microsoft set a redirect of the tutorial I was using for this Stackoverflow question and the tutorial is now lost and replaced without it being the same tutorial or code. If ...
1
vote
1
answer
207
views
How to deploy two dependent models in azure ml
I have two YOLO models. In the processing script, the output of model 1 is given as input to model 2 and model 2 gives final output after further more processing. My input to model 1 is either jpg or ...