githubharald / SimpleHTR

Handwritten Text Recognition (HTR) system implemented with TensorFlow.
https://towardsdatascience.com/2326a3487cd5
MIT License
1.99k stars 894 forks source link

Same nonsense output for any input when inference #12

Closed lamhoangtung closed 6 years ago

lamhoangtung commented 6 years ago

Have you ever encountered this weird problem ? What thing that i possibly missed here ? Thanks

githubharald commented 6 years ago

This is on purpose. A batch has a fixed number of batch elements, therefore I repeat the single image for inference here: https://github.com/githubharald/SimpleHTR/blob/master/src/main.py#L91 You have to change the code there if you want another behaviour.