watsonyanghx / CNN_LSTM_CTC_Tensorflow

CNN+LSTM+CTC based OCR implemented using tensorflow.
MIT License
362 stars 210 forks source link

can this model deal with dynamic length images? #11

Open zzks opened 6 years ago

zzks commented 6 years ago

hi, the image height and width is fixed in this model, how to change it to deal with dynamic length images? THX!

980044579 commented 6 years ago

you can pay attention to the" dynamic_rnn" function in tf

zzks commented 6 years ago

Thank you for your attention to this matter. I tried to change the code to deal with dynamic length images, but failed in sess.run(), it only accept fixed size imgs... Could you be more specific?

prolaser commented 6 years ago

Hi I am having the same issue. I am trying to apply this network on another data set in which images have different sizes. Have you already solved this issue? And if yes how? thanks