【发布时间】:2020-05-24 06:11:49
【问题描述】:
我正在尝试使用 scikit_bring_your_own/container/decision_trees/train mode,在 AWS CLI 中运行,我没有遇到任何问题。尝试在创建 Sagemaker 训练作业中进行复制,在将数据从 S3 加载到 docker 映像路径时遇到问题。
在 CLI 命令中,我们使用指定输入需要引用的docker run -v $(pwd)/test_dir:/opt/ml --rm ${image} train。
在训练工作中,提到了模型工件的 S3 存储桶位置和输出路径。
Error entered in the exception as in train - "container/decision_trees/train"
raise ValueError(('There are no files in {}.\n' +
'This usually indicates that the channel ({}) was incorrectly specified,\n' +
'the data specification in S3 was incorrectly specified or the role specified\n' +
'does not have permission to access the data.').format(training_path, channel_name))
Traceback (most recent call last):
File "/opt/program/train", line 55, in train
'does not have permission to access the data.').format(training_path, channel_name))
所以不明白是否需要进行任何调整或缺少任何访问权限。
请帮忙
【问题讨论】:
标签: amazon-sagemaker