Training on Form Dataset
- Python3
- tensorflow 1.13.1
- numpy
- opencv 3
- Cython
(Omit python keyword if not on windows)
- Download Form Dataset images and put it into image/train
- Download Form Dataset annotations and put it into annotation/train
- Run python setup.py build_ext --inplace
- Run python flow --model cfg/yolo-forms.cfg --train --annotation data/annotation/train --dataset data/image/train
- You can add the --load [path_to_file] flag if you have pre-trained weights to use.
- annotation/test contains ALL xml files, while annotation/test_* contains subsets of those xml files to train on smaller datasets.
- Images and Annotations can be found at: https://github.com/MrPanda1/FormDataset
- Darkflow can be found at: https://github.com/thtrieu/darkflow
- Pretrained weights: