zylo117 / Yet-Another-EfficientDet-Pytorch

The pytorch re-implement of the official efficientdet with SOTA performance in real time and pretrained weights.
GNU Lesser General Public License v3.0
5.21k stars 1.27k forks source link

convert xml to coco format #621

Open calvin886 opened 3 years ago

calvin886 commented 3 years ago

Dear @zylo117 ,

Could you please give us the code which can convert xml annotation to Json(coco) format?

I search the code online, and there are several different version. I am not sure that It converted my xml to Json file correctly.

plz help, thanks a lot!

zylo117 commented 3 years ago

I'd write a converter myself instead of searching and wondering if they can give me a correct result since it takes only half an hour to do that and it's a chance to improve my progamming skill. As for the format, you can refer to the annotations of tutorials or coco's.

alsheabi commented 2 years ago

My question is why we need to map model annotation format as coco JSON however the model convert them to Pascal VOC format? if we map the model with VOC format directly. is there any problem with performance?