我试图创建一个图像标签调整工作在地面真相,我有一些麻烦。问题是,我有一个图像数据集,其中有预先制作的包围框。我有一个外部python脚本,它用每个图像的json创建"dataset.manifest“文件。下面是这个清单文件的前四行:
{"source-ref": "s3://automatic-defect-detection/LM-WNB1-M-0000126254-camera_2_0022.jpg", "bounding-box": {"image_size": [{"width": 2048, "height": 1536, "depth": 3}], "annotations": [{"class_id": 0, "width": 80, "height": 80, "top": 747, "left": 840}]}, "bounding-box-metadata": {"class-map": {"0": "KK"}, "type": "groundtruth/object-detection", "human-annotated": "yes"}}
{"source-ref": "s3://automatic-defect-detection/LM-WNB1-M-0000126259-camera_2_0028.jpg", "bounding-box": {"image_size": [{"width": 2048, "height": 1536, "depth": 3}], "annotations": [{"class_id": 0, "width": 80, "height": 80, "top": 1359, "left": 527}]}, "bounding-box-metadata": {"class-map": {"0": "KK"}, "type": "groundtruth/object-detection", "human-annotated": "yes"}}
{"source-ref": "s3://automatic-defect-detection/LM-WNB1-M-0000126256-camera_3_0006.jpg", "bounding-box": {"image_size": [{"width": 2048, "height": 1536, "depth": 3}], "annotations": [{"class_id": 3, "width": 80, "height": 80, "top": 322, "left": 1154}, {"class_id": 3, "width": 80, "height": 80, "top": 633, "left": 968}]}, "bounding-box-metadata": {"class-map": {"3": "FF"}, "type": "groundtruth/object-detection", "human-annotated": "yes"}}
{"source-ref": "s3://automatic-defect-detection/LM-WNB1-M-0000126253-camera_2_0019.jpg", "bounding-box": {"image_size": [{"width": 2048, "height": 1536, "depth": 3}], "annotations": [{"class_id": 2, "width": 80, "height": 80, "top": 428, "left": 1058}]}, "bounding-box-metadata": {"class-map": {"2": "DD"}, "type": "groundtruth/object-detection", "human-annotated": "yes"}}现在的问题是,我正在亚马逊的Sagemaker创造私人工作岗位来尝试一下。我在一个S3桶中有清单文件和图像,它实际上是可以工作的。所以我选择输入清单,激活“现有标签显示选项”。边界框的现有标签不会自动显示,所以我必须手动输入它们(不知道为什么),但是如果我这样做并在创建调整作业之前尝试预览,边框就会显示得很完美,并且我可以调整它们。问题是,我是唯一被邀请来做这份工作的人,这份工作从来没有开始做,它只是自动完成。后来,我可以看到图像和我预先制作的边框在一起,但是工作似乎从来没有调整过这些框。我没有激活“自动数据标签”选项。我的舱单文件里缺少什么东西吗?
发布于 2022-02-25 13:53:57
这可能有多种原因。首先,automated labeling选项不支持标签调整和验证任务。所以这就排除了。
看起来您没有正确地设置调整作业。有些事情需要检查:
Task timeout和Task expiration time吗?如果这些值实际上很低,那么任务甚至在有人能够选择它们之前就已经过期了。。
https://stackoverflow.com/questions/71145168
复制相似问题