Questions tagged [azuremlsdk]

74 questions
1
vote
1 answer

where are registered models in azure machine learning

I try to use azuremlsdk to deploy a locally trained model (a perfectly valid use case AFIK). I follow this and managed to create a ML workspace and register a "model" like so: library(azuremlsdk) interactive_auth <-…
cs0815
  • 16,751
  • 45
  • 136
  • 299
1
vote
2 answers

get workspace failed azuremlsdk - AuthenticationException

I have created a workspace in our azure environment and try to run this code: library(azuremlsdk) ws <- get_workspace( name = "someworkspace", subscription_id = "si1", resource_group ="rg1" ) Some interactive authenticator opens in…
cs0815
  • 16,751
  • 45
  • 136
  • 299
1
vote
1 answer

storing azure credentials best practice for azuremlsdk

Looking at this the following creates a config.json file (I think): new_ws <- create_workspace(name = , subscription_id = , resource_group = , …
cs0815
  • 16,751
  • 45
  • 136
  • 299
0
votes
1 answer

Bind Pipeline id to Experiment in Azureml Python SDK V1

I am submitting Experiment as python``` experiment.submit(self.pipeline, name=job_name, tags=tags, **kwargs) where: `self.pipeline` is `azureml.pipeline.core.Pipeline object.`. But after submition, in azure portal it has no published pipeline id.…
0
votes
0 answers

How to modify azureml python sdk v2 to serve custom use cases?

I want to modify azureml.data.dataset_factory.register_pandas_dataframe() for my use case so it returns relative_path_with_guid in addition to the registered_dataset by default. The default azureml.data.dataset_factory.register_pandas_dataframe()…
0
votes
1 answer

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 the whole training pipeline. I am using the python…
0
votes
1 answer

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 to be able to use this environment also in…
0
votes
0 answers

Azure ML mounted datastore: os.path.exists returns False, but os.makedirs fails because path exists

I have an Azure ML workspace with a datastore (Datastore 1) setup maybe over 2 years ago. I created a new Azure Storage container and copied everything over from the azure storage container that serves as Datastore 1. Set this up as Datastore 2. The…
amy8374
  • 1,450
  • 3
  • 17
  • 26
0
votes
1 answer

How to create diff environments for different Python packages in production

I am new to Python as well as Azure, so I might be missing some crucial information with my design. We have couple of libraries which are created to be used by user while working on their Azure ML workspace. Now, this questions remain same if we are…
Onki
  • 1,879
  • 6
  • 38
  • 58
0
votes
1 answer

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 script is 'OpenTag2018' and that script is importing…
0
votes
1 answer

When starting azure ml experiment I get a failed to extract subscription information error

I have a folder in a blob storage with training data for an experiment but when I run the script for training with import azureml.core from azureml.core.workspace import Workspace from azureml.core import Environment from azureml.core.environment…
0
votes
0 answers

Local run in Azure ML SDK 2

I want to upgrade the local run of my project to SDK 2 based on Upgrade local runs to SDK v2: from azure.ai.ml.entities import Environment from azureml.core.runconfig import RunConfiguration if run_type == "local": custom_env_name =…
saraafr
  • 1
  • 4
  • 19
0
votes
1 answer

Azure ML experiment run failing with 'HttpLoggingPolicy' has no attribute 'DEFAULT_HEADERS_ALLOWLIST'

This is related to the azure experiment run in the Microsoft Azure Machine Learning Studio. The experiment run fails with this stack trace: Warning: Failed to setup Azure Machine Learning system code due to `type object 'HttpLoggingPolicy' has no…
yardstick17
  • 4,322
  • 1
  • 26
  • 33
0
votes
0 answers

TypeError: Session.request() got an unexpected keyword argument 'tenant_id' while trying to access keyvault with azureml sdk v2 python

I am trying to access key vault from my python code, using SDK v2. Context: I am trying to access the key vault within a step of a pipeline created with SDK version 2. My code looks like this: This is source for a component: import…
0
votes
0 answers

How to configure working directory in Azure ML Studio Pipeline

I am trying to create a pipeline in Azure ML Studio. I don't use the designer but I want to do it with code as explained here. To begin with I am trying to run a .py file as a pipeline. This .py file reads data from different folders, located to my…