Closed aria-1337 closed 8 months ago
Hello Aria! Unfortunately if using CTC you have to pad your dataset yourself :/
Every image should be of same size in number of characters. Take the biggest one, choose a character to represent empty space and pad them to be all same size. You could do it either on your image files changing its name or in the code.
If you choose to use cross-entropy though, the padding is done automatically by the code.
@GabrielDornelles Thank you! Makes sense and was able to get it working :)
Full error output:
My dataset dir: