Questions tagged [azureml-python-sdk]

188 questions
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
1 answer

How do I create a DatatSet with Data Type: ModelDirectory in Azure Machine Learning Studio?

I'm attempting to manually create a DataSet with Data Type: ModelDirectory in Azure Machine Learning Studio, in order to use it in an Inference Pipeline. I have taken an existing ModelDirectory DataSet and attempted to replicate it. Everything is…
D. Reagan
  • 841
  • 1
  • 8
  • 24
2
votes
1 answer

How to output data to Azure ML Batch Endpoint correctly using python?

When invoking Azure ML Batch Endpoints (creating jobs for inferencing), the run() method should return a pandas DataFrame or an array as explained here However this example shown, doesn't represent an output with headers for a csv, as it is often…
2
votes
0 answers

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 the following command pip install…
2
votes
0 answers

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 cfg.yaml we have this line WEIGHTS:…
2
votes
3 answers

AzureML: Engine process terminated. This is most likely due to system running out of memory. Please retry with increased memory

I am trying to run an experiment on AzureML through the notebook. I get the above error on trying to read a dataset created in previous step. I checked the memory usage through command - df -h and it looks ok. I checked git links with same error,…
2
votes
1 answer

No `read_json_lines_files()` function for `OutputFileDatasetConfig`

I have a pipeline step which produces image labels like the one exported from a Data Labeling project which is a jsonl file. This step produces the jsonl label file in a OutputFileDatasetConfig and then I think I would…
Francois
  • 852
  • 6
  • 17
2
votes
0 answers

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 pipeline_id. The Schedule class doesn't seem to have a…
2
votes
1 answer

'MSIAuthentication' object has no attribute 'get_token'

On Azure ML Workspace Notebook, I'm trying to get my workspace instance, as seen at https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-auto-train-models#configure-workspace. I have a config file and I am running the notebook in an…
nferreira78
  • 1,013
  • 4
  • 17
2
votes
2 answers

How to use trained artifacts from AzureML

After creating a model with Azure designer and creating a Real-time inference pipeline I would like to use the trained artifacts in a local script. I'm trying to look for the model.py in the Azure Storage Explorer but cannot find it, or the python…
2
votes
1 answer

How to combine pipeline and hyperparameter in AzureML SDK in the training step

Short form: I am trying to figure out how can I run the hyperparam within a training step (i.e. train_step = PythonScriptStep(...)) in the pipeline, I am not sure where shall I put the "config=hyperdrive" Long form: General: # Register the…
2
votes
2 answers

Azure ML Python SDK mini_batch_size not working as expected on ParallelRunConfig for TabularDataset

I am using Azure ML Python SDK for building custom experiment pipeline. I am trying to run the training on my tabular dataset in parallel on a cluster of 4 VMs with GPUs. I am following the documentation available on this link…
2
votes
2 answers

Azure ML FileDataset registers, but cannot be accessed for Data Labeling project

Objective: Generate a down-sampled FileDataset using random sampling from a larger FileDataset to be used in a Data Labeling project. Details: I have a large FileDataset containing millions of images. Each filename contains details about the…
2
votes
1 answer

How can I remove the wrapper around the input when using Inference Schema

When using Inference Schema to autogenerate the swagger doc for my AzureML endpoint (as detailed here and here), I see that it creates a wrapper around my input_sample. Is there a way to not wrap the input inside this "data" wrapper? Here is what my…
1
2
3
12 13