CNN-LSTM-CTC-text-recognition icon indicating copy to clipboard operation
CNN-LSTM-CTC-text-recognition copied to clipboard

mxnet the squeeze axis in your crnn model

Open PengfeiSun321 opened this issue 7 years ago • 0 comments

Hi, I looked into your code, in your crnn.py #132, wordvec shows with a squeeze axis =1. However, your data after flatten should be (batch_size, num_filters x reduced_width x reduced_height). Although the reduced_height =1, num_filters is 512 and you use a sequence_length=25. Only sequence_length equals to the second component in the shape parameters, it can use squeeze_axis =1. I am a little confused.... Thanks for your work. Appreciate!

PengfeiSun321 avatar Feb 23 '18 18:02 PengfeiSun321