All Questions
Tagged with azureml-python-sdk python
74
questions
0
votes
1
answer
67
views
Load Registered Component in Azure ML for Pipeline using Python sdk v2
I'm working in Azure Machine Learning Studio to create components that I will run together in a pipeline. In this basic example, I have a single python script and a single yml file that make up my ...
0
votes
1
answer
126
views
Azure Machine Learning dataset creation hangs forever
I'm trying to create a Dataset from a datastore using Azure ML, however, the execution hangs forever and never finishes.
This is the code I'm running which I've adapted from the Msft documentation:
...
0
votes
1
answer
177
views
How do I write a pandas data frame from an Azure ML Jupyter notebook to an Azure SQL database?
I'm working with some data in Azure ML, using Jupyter notebooks.
I've gathered the data from an Azure SQL database by setting the tables up as assets and then used Python to run some machine learning ...
4
votes
1
answer
309
views
Azure ML: DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:RefreshExtensionIdentityNotSet
I'm using Azure Machine Learning v2 SDK to create a model deployment on a kubernetes compute attached to an AML workspace. I'm able to deploy it locally as part of testing before deploying online. ...
0
votes
1
answer
213
views
can you load ml models from azureml registry to an Azure function app
Is it possible to load registered ml models from azureml model registry to an azure function app and carry out inference or do these models need to be downloaded inside the function app first? any ...
0
votes
1
answer
431
views
how to load a registered model in azureml to a azure function app?
I am migrating to Azure function app for model inference from using Azure container instance deployment. The code below shows how I was loading the model in score.py
import json
import pandas as pd
...
0
votes
1
answer
981
views
Azure Machine Learning SDK V1 migration to V2 Pipeline Steps
I am trying to migrate Pipelines from Azure Machine Learning SDK V1 to V2, but sometimes I don't understand the logic behind the V2 and I get stuck.
In V1, I just had to create PythonScriptStep and ...
0
votes
2
answers
532
views
unable to import azureml in vscode
I've installed python 3.8, from vscode terminal I created an env and seem to have successfully installed azureml as below:
C:\Python38\python.exe -m venv tempml
tempml\scripts\activate
pip install ...
1
vote
1
answer
492
views
Azure ml Studio Object Detection jupyter: Error to access the mltable for training the model
I am new with azure machine learning and I am still learnning. There is a file named annotations.jsonl saved in the subfolder "image-frames/dados_treinamento" inside the container "...
0
votes
1
answer
4k
views
How to load pdf files from Azure Blob Storage with LangChain PyPDFLoader
I currently trying to implement langchain functionality to talk with pdf documents.
I have a bunch of pdf files stored in Azure Blob Storage. I am trying to use langchain PyPDFLoader to load the pdf ...
1
vote
0
answers
233
views
HTTP Error 409 while accessing registered dataset as a URI file (Azure SDKv2)
In Azure ML I'm trying to read data from the blob storage, register it as a URI File. This is needed to keep data versioning and at the same time to keep data lineage (sort of) because components ...
3
votes
3
answers
2k
views
How to set environment variables in pipelines in Azure ML SDK v2 with jobs.create_or_update()?
I am changing some of our code from Azure ML's SDK v1 to v2.
However, when I invoke pipelines with components via ml_client.jobs.create_or_update, I just can't get them to use my environment variables....
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,
...
0
votes
1
answer
494
views
MLmodel local deployment with azure python sdk
I'm trying to deploy a mlflow model locally using azure sdk for python. I'm following this example https://github.com/Azure/azureml-examples/blob/main/sdk/python/endpoints/online/mlflow/online-...
0
votes
2
answers
336
views
AzureML Python SDK v2: How to programmatically stop a compute instance upon creation?
I'm working on a script that creates compute instances if they don't already exist. Upon creating a compute instance, it is in running state. I'd like to be able to immediately stop that compute ...