Questions tagged [azuremlsdk]

74 questions
5
votes
1 answer

How to configure YOLOv8 yaml file to access blob storage dataset on Azure?

Context I want to train a custom model using Yolo (v8). I've got it working on my local machine, but it is very slow, and want to run the job on Azure Machine Learning Studio for efficiency. I am using Azure ML SDK v2. Issue When I run on Azure ML,…
4
votes
3 answers

How to set azure experiment name from the code after 2021-08-18 SDK change?

On 2021-08-18 Microsoft (for our convenience ?) made the following changes to their Azure ML SDK: Azure Machine Learning Experimentation User Interface. Run Display Name. The Run Display Name is a new, editable and optional display name that can be…
yus
  • 155
  • 1
  • 10
3
votes
1 answer

Azure ML Studio Designer - Is it possible to copy pipeline or pipeline drafts from one workspace to another?

Is it possible to export or copy Pipelines created in Azure ML Studio Designer from one Workspace to another, using the UI, python sdk, and/or azure CLI? If so, how? EDIT: My Designer does not appear to have the 'Export To Code' option that…
3
votes
0 answers

deploy web service for registered R model in Azure ML

I have an absolute nightmare to use azureml-sdk-for-r. So I try to achieve everything via the UI (https://ml.azure.com/). I trained a model locally like so in R 4.0.5 library(datasets) library(caret) data(iris) setwd("C:/Data") index <-…
cs0815
  • 16,751
  • 45
  • 136
  • 299
2
votes
1 answer

Importing MLClient in online endpoint gives error "cannot import name TokenCredential from azure.core.credentials"

I am trying to deploy an online endpoint where i fetch a pre-trained model, as well as a data asset containing embeddings. The reason is that i want to compare the endpoint input to the data asset and return the 5 most similar embeddings. However,…
Mase
  • 85
  • 2
  • 11
2
votes
0 answers

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(): var: str = 'lorem ipsum' return var # or step_1.var = var def step_2(var:…
2
votes
1 answer

azureml score.py not reading additional json file

I have a json file which I am using in score.py however, it is not being found. When making a post request to the endpoint I get the following error "No such file or directory: '/var/azureml-app/model_adjustments.json'" json file is in the same…
2
votes
1 answer

AzureML - CLIv2 - Mount Datastore

I've created a simple script in order to understand the interaction between AzureML and AzureStorage in AzureML CLIv2. I would like to download MNIST Dataset and store in on a datastore. First, i declared my datastore in AzureML : I've created a…
2
votes
2 answers

AzureML Model Register

I was trying to register a model using the Run Class like this: model = run.register_model( model_name=model_name, model_path=model_path) Errors with message: Could not locate the provided model_path ... in the set of files uploaded to the…
2
votes
1 answer

Getting the Azure ML environment build status

I am trying to set up a ML pipeline on Azure ML using the Python SDK. I have scripted the creation of a custom environment from a DockerFile as follows from azureml.core import Environment from azureml.core.environment import ImageBuildDetails from…
2
votes
0 answers

azure machine learning and R using azuremlsdk - supported R version and custom_docker_image

So we have to move away from using SQL Server Machine Learning services as it only supports R 3.5.2 even for SQL Server 2019! I am trying hard to go all 21st century and deploy some of our on prem R trained models as web service as described by one…
cs0815
  • 16,751
  • 45
  • 136
  • 299
2
votes
1 answer

deploy model and expose model as web service via azure machine learning + azuremlsdk in R

I am trying to follow this post to deploy a "model" in Azure. A code snipet is as follows and the model, which is simply a function adding 2 numbers, seems to register fine. I don't even use the model to isolate the problem after 1000s of attempts…
cs0815
  • 16,751
  • 45
  • 136
  • 299
1
vote
1 answer

in Azure ML SDK V2 how can we publish a pipeline

we want to create a pipeline and then publish this pipeline as a endpoint for applications to call when needed. We dont want to schedule this pipeline. in SDKV1 we had an option of published_pipeline1 = pipeline.publish() but something like this is…
1
vote
1 answer

Azureml SDK v2 The provided asset name will not be used for anonymous registration

I am trying to create an environment using AzureML SDK v2 and it throws Warning/Error as follows: ##[error]Warning: the provided asset name 'my_environment_name' will not be used for anonymous registration This breaks my Azure Devops Pipeline, and…
Eddmik
  • 155
  • 7
1
vote
1 answer

Pass a partitioned TabularDataset into ParallelRunStep with azureml sdkv1

Trying to pass a partitioned TabularDataset into a ParallelRunStep as input, but getting the error and can't figure out why azureml ParallelRunStep can't recognize the partitioned dataset: UserInputNotPartitionedByGivenKeys: The input dataset…
1
2 3 4 5