question

NicoKreiling-5985 avatar image
1 Vote"
NicoKreiling-5985 asked ·

Deploy AzureML Model locally: cannot import name 'convert_inputs'

I have trained a model using azure AutoML and downloaded the model. Then I created a new conda env using the conda file and tried to execute the scoring_file_v_1_0_0.py which is in the zip. I receive this error:

> WARNING - Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception cannot import name 'convert_inputs'.

Is this still some dependency problem or am I doing something unexpected? I did expect the script to open a web server to serve the model.

azure-machine-learning
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Can you please add more details about the steps that you tried to download the registered model and to execute.Please follow the below for executing locally.
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-configure-environment#local

Thanks

0 Votes 0 ·

1 Answer

NicoKreiling-5985 avatar image
1 Vote"
NicoKreiling-5985 answered ·

I am sorry, the problem was something path related that got mixed up within my jupyter notebook setup and a moved directory. So actually the pickle was not where the framework expect it. Can be closed.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.