I tried to train a model to predict ocr in keras. This is the code snippet where the model tries to fit the data:
nb_epoch = 8 samples_per_epoch = 3268 nb_va