-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obvious 1 strongly detected as a 7 #1
Comments
This is really not intended to be a state of the art computer vision model, instead as a small demonstration of using Fortran BLAS routines under WebAssembly. The original Multilayer Perceptron model proposal is from 1958. So, yes, the model is not great. Probably nothing can be done other than replacing the model with something better. For me it seems to work best on drawings closer to the scaled digits in the original MNIST dataset, where the numbers are fairly small and centred in the box. Probably it's overfitting to that source data, but it does not matter because model performance isn't really the point of the demo. The code tries to scale and crop digits, but I suppose line thickness might make a big difference. Saying that, I don't find it "literally impossible to get a 6 recognised". So maybe something is going wrong on your machine. If it really is that bad, useful information would be the browser and OS you're using so I can try to reproduce. |
I see what the problem is, you guys draw 6 with a small loop at the bottom, I draw them with a bigger loop. When I draw a smaller loop that doesn't take up half of the vertical space of the glyph it does detect a 6. I suspect that it recognises the loop reaching the vertical centre as a defining feature of 5, I guess 6 was trained on small loops. |
I'm not sure how actionable this is as a bug report, but I got this result here:
The text was updated successfully, but these errors were encountered: