【发布时间】:2019-01-10 01:17:50
【问题描述】:
我正在尝试使用 Amazon Sagemaker 的控制台在 Amazon Sagemaker 中配置带有 BlazingText 算法的训练作业。我有一个清单文件如下:
{"source":"Text1","GroundtruthTryVideo":2,"GroundtruthTryVideo-metadata":
{"confidence":0.66,"job-name":"labeling-job/groundtruthtryvideo","class-name":"TrackingToProspecting","human-annotated":"yes","creation-date":"2018-12-27T00:37:23.894062","type":"groundtruth/text-classification"}}
{"source":"Text2","GroundtruthTryVideo":1,"GroundtruthTryVideo-metadata":
{"confidence":0.66,"job-name":"labeling-job/groundtruthtryvideo","class-name":"FirstDateProspecting","human-annotated":"yes","creation-date":"2018-12-27T00:37:23.894043","type":"groundtruth/text-classification"}}
{"source":"Text3","GroundtruthTryVideo":1,"GroundtruthTryVideo-metadata":
{"confidence":0.9,"job-name":"labeling-job/groundtruthtryvideo","class-name":"FirstDateProspecting","human-annotated":"yes","creation-date":"2018-12-27T00:38:26.377216","type":"groundtruth/text-classification"}}
当我尝试使用此清单创建训练作业时,结果总是出现问题,我的配置是:
算法来源:
Amazon SageMaker 内置算法 (BlazingText)
频道:
- S3 数据类型:ManifestFile
- S3 数据分布类型:FullyReplicated
- S3 位置:ManifestFile 的路径(在 S3 存储桶中)
我尝试使用augmentedManifestFile 和Pipe 作为输入模式,而不是ManifestFile 和File 输入,但结果相同,我无法成功完成训练作业。
谁能帮我正确配置控制台?谢谢。
【问题讨论】:
-
选择
AugmentedManifestFile时,需要指定2个属性名。你这样做吗?在此示例中,它将是source和GroundtruthTryVideo-metadata。 -
我尝试使用这两个属性名,但是,我总是遇到同样的麻烦,结果是:
-
我尝试使用这两个属性名称,但是,我总是遇到同样的问题,结果是:
ClientError: Only the supervised text classification mode supports PIPE mode with Augmented Manifest file.即使我使用的是Pipe和Supervised选项。
标签: amazon-sagemaker