Deevoluation / ALPR

Automatic License Plate Recognition
156 stars 62 forks source link

Error when using other model(char-reg.h5) for inference. #26

Open alokrajg opened 4 years ago

alokrajg commented 4 years ago

I am getting error when I am experimenting with other model(char-reg.h5) instead of weights-improvement-03-0.93.hdf5 . image

githubpiyush commented 4 years ago

I think you are giving gray scale image but the model's input is an RGB image, you can clearly see the input shape(64,64,3) 3 here is channel Red green and blue . You are giving gray scale image with shape (64,64,1) which have only one channel.

Saqhas commented 4 years ago

I am extremenly sorry for the late reply for this bug. The team was actually involved in some other features which will be released. I assure this won't happen again. @githubpiyush yes you got the error right. Now it is removed and the channels will be picked based on the model you chose.

Please check the latest updates and inform us incase of anyother issue.

Thank you