Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] deployment on Container Instances fails (classification model) #647

Open
SaraOlsson opened this issue Apr 12, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@SaraOlsson
Copy link

Description

When running the example notebook [21_deployment_on_azure_container_instances.ipynb](https://github.com/microsoft/computervision-recipes/blob/master/scenarios/classification/21_deployment_on_azure_container_instances.ipynb) , we run into the error 'AciDeploymentFailed'. This happened to both me and another developer in her Azure enviroment.

Error message:
"message": "Aci Deployment failed with exception: Error in entry script, RuntimeError(\"{} is a zip archive (did you mean to use torch.jit.load()?)\".format(f.name)), please run print(service.get_logs()) to get details."

In which platform does it happen?

  • Azure Notebooks (Python kernel '3.6 AzureML')
  • using Compute Instance (STANDARD_D11_V2, Processing unit: CPU)

How do we replicate the issue?

  • Run notebook 21_deployment_on_azure_container_instances.ipynb
  • When running the code cell at "3.F Web service deployment", the WebserviceException occurs: WebserviceException: Message: Service deployment polling reached non-successful terminal state and the error message pasted above.

Expected behavior (i.e. solution)

The deployment of the service endpoint should pass successfully.

@SaraOlsson SaraOlsson added the bug Something isn't working label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant