Questions tagged [azureml-python-sdk]

188 questions
0
votes
1 answer

azureml Submitting deployment to compute taking very long

Azureml is stuck on submitting deployment to compute for a very long time. how can I speed this up? is it because of cpu and memory or due to other reasons? log output Running 2022-08-23 14:51:11+00:00 Creating Container Registry if not…
0
votes
1 answer

Azure Machine Learning Studio -getting error in consumption of endpoint

I have deployed a machine learning model as a pickle file in azure machine learning. The endpoint is created. Now, I am trying to consume the endpoint through the following codes: import requests import numpy as np # send a random row from the test…
0
votes
1 answer

OpenSSL critical Vulnerability in AzureML Model Deployment to Kubernetes

I have an issue with OpenSSL, I am using the following command to install the latest version of OpenSSL in my Base Docker Image of Azure ML Deployment as the older version has some critical security vulnerability. However, the final image still has…
0
votes
2 answers

Azure Computer vision studio and ML notebook gives incorrect results

We are testing Azure Computer Vision (POC) when I tested using Azure ML Notebook the computer image I chosen is not rendering correctly. I tested with Azure vision studio https://portal.vision.cognitive.azure.com/demo/extract-text-from-images as…
Nathan
  • 35
  • 10
0
votes
1 answer

azureml how to create a webservice from docker image

Got all machine learning model that i have registered into a docker image using model package. How do I deploy this docker image to a web service # Define the deployment configuration aciconfig = AciWebservice.deploy_configuration( cpu_cores =…
0
votes
1 answer

azureml how to deploy docker image to webservice

Try to containerize models using docker and use this in a web service. Getting the following error "azureml.exceptions._azureml_exception.WebserviceException: WebserviceException:Message: Models must either be of type azureml.core.Model or a str…
0
votes
1 answer

change run display name azureml

same problem as this however using script run config How to set azure experiment name from the code after 2021-08-18 SDK change?. Tried all the solutions however did not work src = ScriptRunConfig( source_directory=".", …
0
votes
2 answers

Please set the default workspace with MLClient

Getting error "Please set the default workspace with MLClient". How do I set the default workspace with MLClient? Trying to use data…
0
votes
1 answer

ModuleNotFoundError while using AzureML pipeline with yml file based RunConfiguration and environment.yml

I am running into a ModuleNotFoundError for pandas while using the following code to orchestrate my Azure Machine Learning Pipeline: # Loading run config print("Loading run config") task_1_run_config = RunConfiguration.load( …
0
votes
1 answer

How to delete azureml dataset if it already exists

Created an azure ml dataset. how do I delete the dataset if it already exists? #register dataset path='path' file_ds=Dataset.File.from_files(path=path) file_ds=file_ds.register(workspace=ws,name="Dataset")
0
votes
1 answer

Passing PipelineParameter DataPath in Azure ML

The problem with below code is that currently it does not run because of error in line 27: raise ValueError("Unexpected input type: %s" % type(input)) ValueError: Unexpected input type: If I…
0
votes
1 answer

Use dataset registed in on pipelines in AML

I was following the SDK v2 Python tutorial in order to create a pipeline job with my own assets. I notice that in this tutorial they let you use a csv file that can be downloaded but Im trying to use a registered dataset that I already registered by…
0
votes
2 answers

How do I print environment packages in AzureML

I am trying to print a .yml file for an environment. I can do it for this environment: env = Environment.get(workspace = ws, name = 'AzureML-AutoML',…
0
votes
1 answer

Azure ML Python SDK Unable to get MSI token using identity secret

I've been using the Azure ML Python SDK to create pipelines for weeks now, but all of the sudden I started getting this error when trying to get the default datastore ws = Workspace.from_config() def_blob_store =…
gary69
  • 3,620
  • 6
  • 36
  • 50
0
votes
2 answers

Logging and Fetching Run Parameters in AzureML

I am able to log and fetch metrics to AzureML using Run.log, however, I need a way to also log run parameters, like Learning Rate, or Momentum. I can't seem to find anything in the AzureML Python SDK documentation to achieve this. However, if I use…