Deploying autoML model locally

Emanuel 0 Reputation points
2024-01-22T07:51:39.3166667+00:00

Hello everyone, I'm fairly new to Azure, and I'm currently facing an issue that I can't seem to resolve. I've successfully trained some very promising models using Azure AutoML and now I want to deploy them locally. I used simple CSV files as datasets (using Azure ML v1 APIs). When I try to download the corresponding model and insert it into the Conda environment (set up as specified by Azure), I always get the error message:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 12
      9 import pandas as pd
     10 import joblib
---> 12 import azureml.automl.core
     13 from azureml.automl.core.shared import logging_utilities, log_server
     14 from azureml.telemetry import INSTRUMENTATION_KEY

ModuleNotFoundError: No module named 'azureml'

However, I don't believe it's related to packages. When I attempt to deploy the models via a real-time endpoint in Azure and test them using the "Test" tab after successful implementation, I receive the following error message:

Failed to test endpoint
{"message":"An unexpected error occurred in scoring script. Check the logs for more info."}

Am I overlooking something? Appreciate any help. Thanks, Emanuel

Azure Machine Learning
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
{count} votes

Your answer

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