mxnet-lambda函数创建失败

0

【以下的问题经过翻译处理】 我正在尝试从EC2实例(sagemaker)运行此操作,但是遇到了以下错误:

An error occurred (RequestEntityTooLargeException) when calling the CreateFunction operation: Request must be smaller than 69905067 bytes for the CreateFunction operation

是哪里出现了问题呢?

profile picture
專家
已提問 5 個月前檢視次數 18 次
1 個回答
0

【以下的回答经过翻译处理】 您压缩的函数代码太大了。在此处查看限制:https://docs.aws.amazon.com/lambda/latest/dg/limits.html

必须小于50 MB。

请尝试首先将您的zip文件上传到S3。然后在CreateFunction请求中引用S3的存档。当您未解压缩的代码小于250 MB时,这可能起作用。

profile picture
專家
已回答 5 個月前

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

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

回答問題指南