Questions tagged [azureml-python-sdk]
The azureml-python-sdk tag has no usage guidance.
azureml-python-sdk
217
questions
0
votes
1
answer
523
views
How to trigger an event-based based pipeline in AzureML?
I have a published pipeline in AzureML that preprocess the data and train a new model. I am trying an event-based schedule so that whenever a new dataset is registered in the workspace, it triggers ...
4
votes
0
answers
1k
views
Is there a way to create virtual env (and kernel) in Azure ML notebook from a custom registered environment?
I have registered a custom environment (through Environments tab) in Azure Machine Learning (providing Docker file and conda_dependencies.yaml) which I plan to use for training jobs. Now I would like ...
1
vote
2
answers
929
views
Error on Azure ML - AutoMLPipelineBuilder
I want to build a Pipeline in Azure ML. The Training pipeline runs well.
Training:
training_pipeline_steps = AutoMLPipelineBuilder.get_many_models_train_steps(
experiment=experiment,
...
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
1
answer
609
views
I am getting by policy Error while invoking Azure ML Batch end point via python SDK V2. Can anyone explain how to resolve?
I am trying to invoke an azure ml batch end point vis python sdk v2
job = ml_client.batch_endpoints.invoke(
endpoint_name="test-batch-v2",
input=my_test_data_input,
...
0
votes
1
answer
365
views
(NoMatchingArtifactsFoundFromJob) No artifacts matching outputs/model.pt found from Job - Azure ML
I am trying to create a regitered Azure ML Model using the the existing best model from the experiment which is run.
The documentation I have refered said we can create it via this code. but it ...
1
vote
2
answers
1k
views
How can I save an Azure ML sklearn model to a specific blob storage container?
Saving an sklearn model to blob storage from AzureML
Simply put, I have a sklearn model in Azure ML. I want to write the model to a specific blob storage container to save it. I've already ...
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 ...
0
votes
1
answer
475
views
Cant deploy the trained model on Azure ML service
Unable to deploy the trained model using Azure Machine Learning SDK v2
I have created and trained the model whose directory looks something like this -
enter image description here
The main model ...
0
votes
1
answer
621
views
How can we upload local files to azure ml studio notebooks using python?
I want to upload the local files to azure-ml notebook tab.
In azure-ml GUI we have options to upload files and folders, can we do the same thing using python sdk!
1
vote
1
answer
1k
views
How to pass the datastore URI to azureml.fsspec.AzureMachineLearningFileSystem Python SDK?
I have registered a datastore which is an ADLS.
datastore = mlclient.datastores.get(ds_name)
from azureml.fsspec import AzureMachineLearningFileSystem
#azureml://subscriptions/<subid>/...
1
vote
1
answer
536
views
AttributeError in Azure ML: 'Logger' object has no attribute 'activity_info' during Dataset Registration
I am trying to register a dataset in Azure Machine Learning using the Python SDK. Here is the code that I have used:
from azureml.core import Dataset
testdata = Dataset.Tabular.from_delimited_files(...
0
votes
1
answer
521
views
AzureML not finding DBFS path when registering a model locally
I have a set of ML models that have been tracked and registered using mlflow in Databricks that I want to register on AzureML. Model .pkl files are stored on DBFS and when I run the below code in a ...
0
votes
1
answer
271
views
Endpoint deployment state is failing, while deploying a model through AKSCompute/AMLCompute (both)
Here, when I ran the code for deployment using AKSCompute, I am getting an error
Tips: You can try get_logs(): https://aka.ms/debugimage#dockerlog or local deployment: https://aka.ms/debugimage#debug-...