Skip to main content

Json Format


The basic json format is as follows:


[
{
"image_id":1,
"image": "folder/imagename1.png",
"metadata": {},
"model_metric":{}
},
{
"image_id":2,
"image": "folder/imagename2.png",
"metadata": {},
"model_metric":{}
}
]


key                                         설명                                                                                                                    형식                     예시                               
image_idUnique ID for the image to distinguish between different images. Used for information updates or when uploading annotations and inference results later.number (integer >= 0)1
imagePath or name of the image.
- Cloud integration: Path below the linked folder.
- Direct upload: File name with image extension.
string"folder/img.jpg"
metadata_keyValue for each registered metadata key.
- Text type: array.
- Number type: number
array or number
model_metric_keyValue for each registered model metric key.
- Text type: array.
- Number type: number
array or number



  • When uploading new source data (images)
    - The value must be the same as the previously registered key value.

untitled


  • When only modifying metadata or model metric information of already uploaded data


[
{
"image_id":1,
"metadata": {},
"model_metric":{}
},
{
"image_id":2,
"metadata": {},
"model_metric":{}
}
]




Error Code

If there is an error in the json format, an error occurs during the verification process.
In this case, modify the json file and re-upload it after referring to the Error Code below.

Error CodeStatus
Syntax errorThe json syntax is incorrect or the ID is not an integer greater than or equal to 0, or a key (Metadata, ModelMetric, etc.) that does not match the template is written.
Duplicated Image IDThere are duplicate IDs in Image ID..
Metadata key does not existThere is an unregistered Metadata key.
Metadata value errorThe value format of Metadata is incorrect, or the value that does not match the registered type (Text, Num) is entered.
Model metric value errorThe value format of Model Metric is incorrect, or the value that does not match the registered type (Text, Num) is entered.



Invalid Case


Syntax error

untitled Please write according to the template.


Duplicated Image ID

untitled Please be careful not to duplicate the image_id value.


Value error

untitled You need to put the value according to the Key Setting.


Key error

untitled

untitled You need to put the key value according to the Key Setting.