英文:
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,然后从那里下载。
步骤
- 注册Amazon Web Services(AWS)帐户。
- 在Amazon S3中创建一个“存储桶”。
- 生成AWS安全凭据-您需要生成访问密钥。
- 在SageMaker Studio Lab中打开终端,并运行
aws configure
,然后输入之前生成的访问密钥。 - 最后,运行命令
aws s3 cp my_local_file s3://my_bucket/my_file_name
祝你好运!
英文:
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
- Sign up for an Amazon Web Services (AWS) account.
- Create a "bucket" in Amazon S3.
- Generate AWS security credentials -- you'll need to generate access keys.
- Open the terminal in SageMaker Studio Lab and run
aws configure
, then enter your access keys from before. - Finally, run the command
aws s3 cp my_local_file s3://my_bucket/my_file_name
Good luck!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论