将分割标注上传至AWS Ground Truth
我正在尝试将标注上传到Sagemaker Groundtruth。我想纠正已存在的标签。我之前在Label Studio进行标注,所以它们目前的格式就是这种。我已经把它转换成manifest文件,并按照他们在这里概述的作业格式进行:
https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data-output.html#sms-output-box
它仍然没有显示出来,我也不确定是否必须创建在创建标注作业时所需的整个结构,还是有更简单的做法。任何资源都会有帮助,因为我只找到了关于如何创建基本标注作业而没有现有注释的资料。
manifest中的一行示例:
{"source-ref": "s3://images_0705/IMG_0299.JPG", "labeling-0705-test-ref": "s3://images_0705/aws/annotations/IMG_0299.json", "labeling-0705-test-ref-metadata": {"internal-color-map": {"0": {"class-name": "BACKGROUND", "confidence": 0.9, "hex-color": "#ffffff"}, "1": {"class-name": "Car", "confidence": 0.9, "hex-color": "#2ca02c"}, "2": {"class-name": "Road", "confidence": 0.9, "hex-color": "#1f77b4"}, "3": {"class-name": "Person", "confidence": 0.9, "hex-color": "#ff7f0e"}}, "type": "groundtruth/semantic-segmentation", "job-name": "labeling-0705-test", "human-annotated": "yes", "creation-date": "2024-01-01T00:00:00.000000"}}
解决方案
所以对未来的任何正在查找的人来说,答案是它必须是图像格式,json文件不起作用。换句话说,你需要把Label Studio的 RLE格式输出转换成你想要的PNG。
站内所有文章版权归属LeftHeroAI导航站,无授权禁止任何主体转载、抄袭、复制内容,亦不得私自架设镜像站点。一经侵权,本站将通过法律途径追责。