szaza / dataset-generator

It is a very simple program to generate Pascal VOC style learning dataset from images. It generates images and XML style annotations with bounding box coordinates.
Do What The F*ck You Want To Public License
11 stars 4 forks source link

How to generate label files(.txt) for Darknet? #2

Closed msarfrazcss closed 5 years ago

msarfrazcss commented 5 years ago

Hi,

I want to train a model on my custom dataset, but I have only annotation files(.xml) for all images and i want to create label files from these annotation files. Is there any way to do that.

szaza commented 5 years ago

Hi, Unfortunately, this dataset generator is not able to to make conversion between annotation files and label files. It creates the dataset from images and backgrounds.

msarfrazcss commented 5 years ago

Thanks Can i generate my own dataset on my images by using your tool.

szaza commented 5 years ago

Yes, you can. Please see the description here: https://sites.google.com/view/tensorflow-example-java-api/dataset-generator.

msarfrazcss commented 5 years ago

Thanks, i got it.