Import ML Model from ADLS to Azure ML using Databricks

0 votes

I have stored one ml model in my ADLS and I want to register the model to Azure ML using databricks. Tried to use the following codes to register my ml model but keep encountering an error that the path cannot be found. I have mount the storage to my databricks.

import urllib.request
from azureml.core.model import Model

# Register a model 
model = Model.register(model_path = 'dbfs:/mnt/machinelearning/classifier.joblib',
                      model_name = "pretrained-classifier",
                      description = "Pretrained Classifier",
                       workspace=ws)

Mar 23, 2022 in Azure by Edureka
• 11,450 points
138 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Azure

0 votes
1 answer

Add run id when registering ml.azure model via python (pipeline)

Create the following resources in order to ...READ MORE

answered Mar 1, 2022 in Azure by Edureka
• 11,450 points
390 views
0 votes
1 answer

Sign in to Azure Account from VS Code

Open VS Code. Select Extensions on the left-side corner. In the ...READ MORE

answered Mar 30, 2022 in Azure by Edureka
• 12,890 points
2,207 views
0 votes
1 answer

How to run scheduled scripts using Azure WebJobs

You can schedule the trigger to occur ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 11,450 points
692 views
0 votes
1 answer

How to retrieve View definition on Synapse (Azure SQL DW)?

To authenticate with Azure SQL Database or ...READ MORE

answered Mar 4, 2022 in Azure by Edureka
• 12,890 points
368 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is Azure Databricks?

Azure Databricks is an Apache Spark-based analytics ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,210 points
1,049 views
0 votes
1 answer

Azure Databricks - reading tables with koalas

You just need to use  read_table EX: ksdf = ks.read_table(' ...READ MORE

answered Mar 30, 2022 in Azure by Edureka
• 12,890 points
200 views
0 votes
0 answers

Create a student account in Azure

I would like to start with Azure ...READ MORE

Apr 12, 2022 in Azure by Edureka
• 12,890 points
211 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP