JSON format error in Manifest file

0

Hi'
im' trying to setup a training dataset for object localization using the manifest method. Im' getting the following error:
401: The S3 input manifest file s3://custom-labels-console-us-east-1-833b01ea2f/datasets/TestTrainingSet/manifests/output/output.manifest does not have the correct JSON format.

I couldn't figure out what's wrong with the json, was hoping somebody could help me resolving the issue.
Following is the json for one of image files.

{"source-ref": "s3://custom-labels-console-us-east-1-833b01ea2f/DentalCEPH/TrainingData/001.png", "bounding-box": {"image_size": [{"width": 1935, "height": 2400, "depth": 3}], "annotations": [{"class_id": 0, "top": 929, "left": 768, "width": 128, "height": 128}, {"class_id": 1, "top": 968, "left": 1405, "width": 128, "height": 128}]}, "bounding-box-metadata": {"objects": [{"confidence": 1}, {"confidence": 1}], "class-map": {"0": "sella turcica", "1": "nasion", "2": "orbitale", "3": "porion", "4": "subspinale", "5": "supramentale", "6": "pogonion", "7": "menton", "8": "gnathion", "9": "gonion", "10": "lower incisal incision", "11": "upper incisal incision", "12": "upper lip", "13": "lower lip", "14": "subnasale", "15": "soft tissue pogonion", "16": "posterior nasal spine", "17": "anterior nasal spine", "18": "articulate"}, "type": "groundtruth/object-detection", "human-annotated": "yes", "creation-date": "2020-11-18T02:53:27", "job-name": "custom labels"}}

Thank you,
V.Vamsi Krishna

Edited by: vkrishna on Mar 7, 2021 3:53 AM

질문됨 3년 전868회 조회
3개 답변
0

Just in case some poor soul runs into this same damn issue.
When using python for creating the manifest file don't re-direct the output to the manifest file. Open a file from within the script and write the json value.

FacePalm

답변함 3년 전
0

Hi Vamsi,

seems like you found the solution. If you run into any other issues, please let us know. We are happy to assist you. :)
답변함 3년 전
0

Hi ssanto,

I can help you debug the issue if you would like to share via private message a recent project version name that exhibited the issue you're describing.

Thanks,
ChristianDAtAWS

AWS
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠