getting error when deploying a model to real tim endpoint- getting message "Could not find datastore: azureml"

Tal Israel 15 Reputation points
2023-05-01T10:28:02.2833333+00:00

Hi pls help,

i am trying deploy a model to real time endpoint and getting an error message "Could not find datastore: azureml"

this is after i have traind the model...

any help will be a appreciated

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,072 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,741 Reputation points
    2023-05-02T13:39:17.4933333+00:00

    @Anonymous Thanks for the question. The error message “Could not find datastore: azureml” suggests that the Azure ML workspace is unable to locate a datastore with the name “azureml”. Each Azure ML workspace comes with a default datastore that can be accessed using the following code

    from azureml.core import Workspace
    ws = Workspace.from_config()
    datastore = ws.get_default_datastore()
    

    you may need to update your code to use the correct name of an existing datastore.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.