WebserviceException when deploying image

Yuzu 26 Reputation points
2022-01-14T09:16:04.693+00:00

Hi,
I created a model and an image in AML using mlflow.azaureml.build_image. I am able to create the image successfully.
I tried to deploy the image but i encountered an error.

webservice_name = "model-image2"
webservice_deployment_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)
aci_webservice = Webservice.deploy_from_image(name=webservice_name, image=model_image, deployment_config=webservice_deployment_config,workspace=ws)
aci_webservice.wait_for_deployment(show_output=True)

It gave an error which is "WebserviceException"

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,572 questions
{count} votes