当使用object_detection_augmented_manifest_training.ipynb训练模型时"ClientError: XXXX“

0

【以下的问题经过翻译处理】 你好,我的目标是为花园鸟类创建一个模型。我有293张鸟类照片,通过两个自定义标记任务进行了训练和验证。我遇到的问题是在边界框上有多个标签,我通过创建一个带有以下标签的自定义标记作业来解决了这个问题:

<crowd-bounding-box
    name="annotatedResult"
    labels="['Blackbird', 'Blue tit', 'Coal tit', 'Dunnock', 'Great tit', 'Long-tailed tit', 'Nuthatch', 'Pigeon', 'Robin']" .....

现在我有两个具有以下许多行的输出文件:

{"source-ref":"s3://XXXXX/Blackbird_1.JPG","BirdLabel":{"workerId":"privateXXXXX","imageSource":{"s3Uri":"s3://XXXXX/Blackbird_1.JPG"},"boxesInfo":{"annotatedResult":{"boundingBoxes":[{"width":1619,"top":840,"label":"Blackbird","left":1287,"height":753}],"inputImageProperties":{"width":3872,"height":2592}}}},"BirdLabel-metadata":{"type":"groundtruth/custom","job-name":"birdlabel","human-annotated":"yes","creation-date":"2019-01-10T15:41:52+0000"}}

在这个作业成功后,我使用 object_detection_augmented_manifest_training 模板创建了一个 ml.p3.2xlarge 实例。

我填写了必要的部分,然后运行它并在将 Content Type 设置为 'application/x-image'Record wrapper type:RecordIO 时接收到这个错误:'ClientError: train channel is not specified.'

然后,我把通道改为 train_annotation 而不是 train ,然后收到这个错误消息:"ClientError: Unable to initialize the algorithm. Failed to validate input data configuration. (caused by ValidationError)\n\nCaused by: u'train' is a required property

如果需要,我可以提供更多信息。

任何帮助都将不胜

profile picture
EXPERTE
gefragt vor 8 Monaten25 Aufrufe
1 Antwort
0

【以下的回答经过翻译处理】 感谢您在面对一些困难时继续尝试使用我们的服务。请您把您的增强清单与以下链接中展示的示例进行交叉参考:https://aws.amazon.com/blogs/aws/amazon-sagemaker-ground-truth-build-highly-accurate-datasets-and-reduce-labeling-costs-by-up-to-70/, https://github.com/awslabs/amazon-sagemaker-examples/blob/master/ground_truth_labeling_jobs/object_detection_augmented_manifest_training/object_detection_augmented_manifest_training.ipynb, 和 https://github.com/awslabs/amazon-sagemaker-examples/blob/master/ground_truth_labeling_jobs/ground_truth_object_detection_tutorial/object_detection_tutorial.ipynb

看起来您的格式有些不同,例如算法希望看到名称为“annotations”和“image_size”的键。请您检查语法并告知我们结果是否改变。

profile picture
EXPERTE
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen