Hello, I am using 5000+ images for training and 1000+ for testing.. I am getting validation accuracy 0 for this code and also real time it doesn't predict at all...
I got some errors. Because we can not use predict_classes anymore so i changed it into np.argmax(classi.predict(roi, 1 , verbose = 0), axis=-1). But when I check with camera, it does not return any other value instead of 0. Just stay at [0] and nothing else happens even though i try alot of times. Please help
for me it works like this: result = classifier.predict(roi) number = np.argmax(result) cv2.putText(copy, str(number), (300 , 100), cv2.FONT_HERSHEY_COMPLEX, 2, (0, 255, 0), 2)
@@debbyverseyt6666 classifier is your model. What is it name? Or you need to run the script from the beginning, because the kernel has crashed and forgot everything.
Hello, I am using 5000+ images for training and 1000+ for testing.. I am getting validation accuracy 0 for this code and also real time it doesn't predict at all...
hi! were you able to solve the problem?
How to add more numbers like 2,3,4,5 upto 9???
mega.nz/file/aFIghBaS#UFeJmmsjyTraJ6lnPrQYKHcGUMMBnTash-K4r_3GdqM
I have already downloaded your code but I want to train 0-9 and all alphabets... This code is working only for binary..
please tell me how to do it..
@@SunnySingh-ug3xy where u have downloaded
How to train remaining numbers from 2 to 9
Sir,how do i train all 26 letters using this... please help sir
I got some errors. Because we can not use predict_classes anymore so i changed it into np.argmax(classi.predict(roi, 1 , verbose = 0), axis=-1). But when I check with camera, it does not return any other value instead of 0. Just stay at [0] and nothing else happens even though i try alot of times. Please help
for me it works like this:
result = classifier.predict(roi)
number = np.argmax(result)
cv2.putText(copy, str(number), (300 , 100), cv2.FONT_HERSHEY_COMPLEX, 2, (0, 255, 0), 2)
@@ipatimo hello please i got an error that classifier is not defined
how do i fix this please?
@@debbyverseyt6666 classifier is your model. What is it name? Or you need to run the script from the beginning, because the kernel has crashed and forgot everything.
@@ipatimo thank you i've gotten to work but now my frame is too small