Skip to content

Training CNN LSTM with images of different size without padding images #8

@Harathi123

Description

@Harathi123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions