ThomasDelteil/HandwrittenTextRecognition_MXNet

Training CNN LSTM with images of different size without padding images

Opened this issue · 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