watsonyanghx / CNN_LSTM_CTC_Tensorflow

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

why seq_len equals batch_size? #35

Closed alvenchen closed 5 years ago

alvenchen commented 5 years ago

accourding to cnn_lstm_otc_ocr.py : self.seq_len = tf.fill([x.get_shape().as_list()[0]], feature_w)

that is seq_len equals batch_size. but why?