How do I convert Imagenet to Darknet
Installation
sudo pip install -r requirements.txtUsage
python xmltotxt.py -xml xml -out outExample
<annotation>
<filename>image-0000016.jpg</filename>
<size>
<width>1920</width>
<height>1080</height>
</size>
<object>
<name>sedan</name>
<bndbox>
<xmin>75</xmin>
<ymin>190</ymin>
<xmax>125</xmax>
<ymax>210</ymax>
</bndbox>
</object>
</annotation>Motivation
Last updated
Was this helpful?
