清空输出作业文件夹

问题描述 投票:0回答:1

我已经使用 SageMaker 扩展设置了本地 JupyterLab 实例,以便在 AWS 中运行作业,现在我看到作业是使用输入 S3 文件夹中正确的 .ipynb 文件启动的,但看不到任何结果,因为没有带有“output”前缀的文件存在且没有可下载的内容。

一切都按照本手册进行配置。角色、许可经过双重检查,我已经没有想法了。你能给我一个方向吗?我们有任何相关日志可以一目了然吗?

amazon-sagemaker
1个回答
0
投票

我刚刚按照博客文章操作,就能够成功运行笔记本作业。

如果成功运行作业,您将在指定的 S3 存储桶下看到以下文件。

$ aws s3 ls s3://sagemaker-automated-execution-123456789012-us-east-2 --recursive
2024-04-17 17:57:49       9480 notebookjobtestip-notebookjobtest-bf50211d-2024-04-18-00-57-47/input/notebook-job-test.ipynb
2024-04-17 18:00:14      13948 notebookjobtestip-notebookjobtest-bf50211d-2024-04-18-00-57-47/output/output.tar.gz

我正在分享我的输入配置:

  • 计算类型:ml.m5.large
  • 图片:arn:aws:sagemaker:us-east-2:429704687514:image/sagemaker-base-python-38
  • 内核:python3
  • arn:aws:iam :: 123456789012:角色/SagemakerJupyterSchedulerRole
  • 输入文件夹:s3://sagemaker-automated-execution-123456789012-us-east-2/
  • 输出文件夹:s3://sagemaker-automated-execution-123456789012-us-east-2/

请尝试类似的配置并检查是否有效。

© www.soinside.com 2019 - 2024. All rights reserved.