question

KakatkarSuraj-0280 avatar image
0 Votes"
KakatkarSuraj-0280 asked KakatkarSuraj-0280 edited

i am getting error when deploying machine learning model in aci

**I am getting following error when trying to deploy machine learning model and when i deployed last time (1 month ago) with same score.py file it was deployed successfully, can anyone tell me why its giving error now

Error message as below**

service.get_logs()

Received bad response from Model Management Service:
Response Code: 404
Headers: {'Date': 'Thu, 29 Jul 2021 12:34:55 GMT', 'Content-Type': 'application/json',
'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding', 'x-ms-
client-request-id': '70679512-c060-4340-adb7-b48ce00449f5', 'x-ms-client-session-id':
'1def55d9-4542-4b5b-b499-81aaa966e48a', 'api-supported-versions': '1.0, 2018-03-01-preview,
2018-11-19', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains; preload', 'X-
Content-Type-Options': 'nosniff', 'x-request-time': '0.961', 'Content-Encoding': 'gzip'}
Content: b'{"code":"NotFound","statusCode":404,"message":"The specified resource was not found.","details":[{"code":"ContainerLogNotAvailable","message":"Log of container \'gpvmod24\' in container group \'gpvmod24-wdh0omjSOE6ebtgW6F6kJQ\' is not available yet. Please check container \'InstanceView\' for more information or retry later."}],"correlation":{"RequestId":"0f3ed601-e1a9-4efb-ad42-2a6792c888c7"}}'

My deployment code is below
aci_config = AciWebservice.deploy_configuration()

service = Model.deploy(workspace=ws,
name='try',
models=[model_x],
inference_config=inference_config,
deployment_config=aci_config,overwrite=True)
service.wait_for_deployment(show_output=True)


azure-machine-learning-inference
5 |1600 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.

0 Answers