I was trying to upload the gas data which is in Json format but the following error occurred in the process.
Hello @Hrishikesh.pawar ,
Can you share an example of the JSON object you are trying to upload?
Regards,
Louis
How do I attach the file? Or should I mail the file to you?
I ve smilar error in Object Detection. I have bounding box labels json file from COCO datasets. Whenever I try to upload this file, same error occurs. Here is the my json example:
"annotations":[
{
"segmentation":[
[
346.58,
89.15,
387.75,
77.66,
425.09,
68.09,
404.98,
51.81,
399.24,
2.03,
402.11,
2.98,
410.72,
2.98,
416.47,
2.98,
425.09,
2.03,
635.71,
1.07,
638.59,
2.03,
637.63,
343.82,
490.19,
344.78,
483.49,
283.5,
478.7,
263.4,
475.83,
264.35,
494.02,
236.59,
488.27,
197.34,
428.91,
124.57,
425.09,
108.3,
391.58,
128.4,
365.73,
131.28,
357.11,
124.57,
347.54,
89.15
]
],
"area":66127.9536,
"iscrowd":0,
"image_id":558840,
"bbox":[
346.58,
1.07,
292.01,
343.71
],
"category_id":1,
"id":1246080
},
{
And keeps going like that
Hello @Hrishikesh.pawar,
Can you make sure the ingestion format for the bounding_boxes follows this one:
Just put your bounding_boxes.labels
file in the same folder as your images. Note that the name of this file is bounding_boxes.labels
not bounding_boxes.labels.json
Regards,
Louis
Hello, @louis ,
Sorry for the late reply. The bounding box issue mentioned above was from someone else.
I have been trying to import csv data of gas reading which had 1000 rows and 8 columns.
I tried the code which you shared in one of the discussion regarding the same issue…
link for that - https://www.edgeimpulse.com/blog/import-your-data-as-csv
Trying this gave me the same issue as the above one “Missing protected header”.
I’m willing to share the csv and the python code with you.
Regards,
Hrishikesh.
Thankyou so much for your help, now I’m able to upload the data.
Hey, I am facing the same error even after the Json file has been formatted accordingly? May I know the reason?
Hello @sanjay,
Can you make sure your bounding_boxes.labels
file in the same folder as your images.
Note that the name of this file is bounding_boxes.labels
not bounding_boxes.labels.json
.
It’s usually the main source of error.
Best,
Louis
Hello @MrAccelerated, @Hrishikesh.pawar, @sanjay,
FYI, we just released the support of new image dataset acquisition formats (COCO JSON, Pascal VOC, YOLO TXT, OpenImage, Plain CSV): Uploader - Edge Impulse Documentation
Best,
Louis