watsonyanghx / CNN_LSTM_CTC_Tensorflow

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

how to inference one by one? #28

Open zzks opened 6 years ago

zzks commented 6 years ago

sorry... the batch size was used in LSTM structure, so when I inference, I have to send a batch of data: one real data and other zeros. So how can I inference one by one ? thanks so much!

twoyoungtwosimple commented 5 years ago

--batch_size=1

jihadbourassi commented 5 years ago

@zzks @twoyoungtwosimple Hello how did you guys do the inference after the training? when i run the inference command after i train the model a test.csv file gets created with one line in it and does not match the lables of the data i have