Detect handwritten words (neural network based).
A neural network based detector for handwritten words.
model
directorysrc
directory and execute python infer.py
data/test
)gt
and img
img
directorygt
directorysrc
and execute python train.py
with the following parameters specified (only the first one is required):
--data_dir
: dataset directory containing a gt
and an img
directory--batch_size
: 27 images per batch are possible on a 8GB GPU--caching
: cache the dataset to avoid loading and decoding the png images, cache file is stored in the dataset directory--pretrained
: initialize with saved model weights--val_freq
: speed up training by only validating each n-th epoch--early_stopping
: stop training after n validation steps without improvementlog
directory, which can be opened with tensorboardpython eval.py
evaluates the trained model