我正在尝试将模型部署到Azure Machine Learning Studio中的Kubernetes,它已经工作了一段时间,但是现在,它在部署过程中失败了,错误消息如下:
Deploy: Failed on step WaitServiceCreating. Details: AzureML service API error. Your container application crashed. This may be caused by errors in your scoring file's init() function. Please check the logs for your container instance: pipeline-created-on-07-28-2020-r. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. You can also try to run image viennaglobal.azurecr.io/azureml/azureml_6ae744633f749472feb283065055dc2c:latest locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information.
{ "code": "KubernetesDeploymentFailed", "statusCode": 400, "message": "Kubernetes Deployment failed", "details": [ { "code": "CrashLoopBackOff", "message": "Your container application crashed. This may be caused by errors in your scoring file's init() function. Please check the logs for your container instance: pipeline-created-on-07-28-2020-r. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \nYou can also try to run image viennaglobal.azurecr.io/azureml/azureml_6ae744633f749472feb283065055dc2c:latest locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information." } ] }