跳至內容

sagemaker integration

0

CannotStartContainerError: Please ensure the model container for variant default-variant-name starts correctly when invoked with 'docker run <image> serve'.

i get this error when i deploy my model on sagemaker ( that i build or train locally ) , please help

已提問 2 年前檢視次數 747 次

1 個回答
0

Hi,

Did you follow the guidance of https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html so that SM can run your container after your trained it.

In particular, specifying the container entry point with ENTRYPOINT ["executable", "param1", "param2", ...] properly is very key. See all details in the doc.

Best,

Didier

專家

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。