Darkflow: create annotations

Created on 10 Jun 2017  路  5Comments  路  Source: thtrieu/darkflow

I am new to yolo.
I am trying to train a model to detect numbers in a image. I am using MNIST dataset.
So far I have a folder called training data where the 28x28 images are in their respective folders(like all images of 5 are in folder named 5 etc.)
I have created a labels.txt file which contains list of classes(0 to 9)
I have copied tiny-yolo.cfg in my folder and modified classes and filters variables.
Now what to do about annotations.How do I create that file and how do I initiate the weight file?

Most helpful comment

I used labelImg to label my own dataset.

All 5 comments

I used labelImg to label my own dataset.

I organised my images and annotations the same way as the Pascal VOC dataset and used labelImg for generating the annotation file for each image. You can load the weight file via the option --load bin/yolo-tiny.weights

I've been converting my own dataset format to VOC today and it's not too bad. But the above tool is great for starting from scratch with images! Nice find @bauerzhou

How can I create Annotation xmls,
can anyone help me with this?

labelimg directly generates the XMLs files you need

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ManojPabani picture ManojPabani  路  4Comments

pribadihcr picture pribadihcr  路  5Comments

halt9 picture halt9  路  3Comments

wonny2001 picture wonny2001  路  4Comments

eugtanchik picture eugtanchik  路  4Comments