Open sinadunk23 opened 5 years ago
@sinadunk23 Hi . can you give more information on which code did you run (training or inference ?) Yes, it appears that the code gets errors on reading your inputs. Please note that this code sets up "CHARS" for chinese licenses. You should edit CHARS corresponding for the specific language that you want to implement.
thank you for your reply, i managed to fix that problem. on another note is there a way to force the predictions to be of certain length?right now i can only set the maximum allowed length but i want to make it always predict a specific length. by the way i'm talking about the training code.
hello i'm running your code on windows and i'm using it for non English-language license plates(it is not Chinese either) and i managed to work around the fact that python couldn't read the file names(labels) of the images but now i keep getting this error: img, label, length = sample TypeError: 'NoneType' object is not iterable the problem seems to be that the collate_fn function is getting none for input and therefore resulting in sample to be none too.