无法下载Sagemaker文件,“响应实体太大”

huangapple go评论60阅读模式
英文:

I am unable to download the Sagemaker file "Response entity too large"

问题

我正在使用SageMaker Studio Lab,并尝试下载一个2GB大小的文件。不幸的是,我遇到了Response entity too large错误。

我不知道如何让服务器允许下载大文件。一个朋友说我可以将文件拆分,但是这个文件是一个稳定的扩散模型,不能拆分。

我不知道设置中是否有增加下载文件大小的选项。

英文:

I'm using SageMaker Studio Lab and trying to download a file that's 2GB large. Unfortunately, I get the error Response entity too large.

I don't know how to make the server allow the download of a large file. A friend said that I could split the file, however, the file is a stable diffusion model and it cannot be split.

I don't know if in the settings there is an option to increase the size of files for download.

答案1

得分: 1

基于提供的链接,似乎您正在使用SageMaker Studio Lab。不幸的是,这是由AWS提供的免费服务,具有有限的自定义选项。

最简单的选项是将您的文件上传到Amazon S3,然后从那里下载。

步骤

  1. 注册Amazon Web Services(AWS)帐户。
  2. 在Amazon S3中创建一个“存储桶”。
  3. 生成AWS安全凭据-您需要生成访问密钥
  4. 在SageMaker Studio Lab中打开终端,并运行aws configure,然后输入之前生成的访问密钥。
  5. 最后,运行命令aws s3 cp my_local_file s3://my_bucket/my_file_name

祝你好运! 无法下载Sagemaker文件,“响应实体太大”

英文:

based on the link provided it seems you're using SageMaker Studio Lab. Unfortunately, this is a free service provided by AWS with limited customisation options.

The easiest option would be to upload your file to Amazon S3, then download it from there.

Steps

  1. Sign up for an Amazon Web Services (AWS) account.
  2. Create a "bucket" in Amazon S3.
  3. Generate AWS security credentials -- you'll need to generate access keys.
  4. Open the terminal in SageMaker Studio Lab and run aws configure, then enter your access keys from before.
  5. Finally, run the command aws s3 cp my_local_file s3://my_bucket/my_file_name

Good luck! 无法下载Sagemaker文件,“响应实体太大”

huangapple
  • 本文由 发表于 2023年6月22日 08:29:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/76527936.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定