HandwrittenTextRecognition_MXNet icon indicating copy to clipboard operation
HandwrittenTextRecognition_MXNet copied to clipboard

Training CNN LSTM with images of different size without padding images

Open Harathi123 opened this issue 6 years ago • 0 comments

Hi,

I trained the CNN LSTM CTC model with the IAM line images of size (128, 1600) and i am getting good results with that. But when i tried to test the model with images of different size (100, 500), i am getting shape errors near LSTM. So i resized the image to (128, 1600), i am not getting good results as the image resolution changed.

Is there a way to train CNN LSTM model with images of different sizes without padding the images with 0? And test the same with images of different sizes?

Any suggestions will be helpful...

Thanks, Harathi

Harathi123 avatar Jul 24 '18 20:07 Harathi123