Skip to content
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

Different classification results for own Teachable Machine model - in the TM UI and on this website #193

Open
KonstantinaD opened this issue May 16, 2022 · 2 comments

Comments

@KonstantinaD
Copy link

KonstantinaD commented May 16, 2022

Hi Jeferson,
Thank you for exposing this website, it helps me a lot with my project.
I trained my own model in Teachable Machine and provided my model files in model folder of your app. The classification results I see on the TM UI (https://teachablemachine.withgoogle.com/train/image) and on your locally run website are often different - sometimes both in terms of class and confidence.
Have you compared your website results with the TM UI ones and found differences? If yes, do you know why they might be there?
Also, I trained my own image classification model using ml5.js library, saved the model and put the model files in the model folder of your app. Using your existing code, I test my model in this way. Do you know if this is a reliable way to test?
Thank you in advance.

@jeferson-sb
Copy link
Owner

jeferson-sb commented May 17, 2022

Hi @KonstantinaD how are ya?

yeah, those classifications' results may vary, for this project I'm using an older version of Tensorflow.js that is compatible with teachablemachine image plugin@teachablemachine/image which is being used to load the model and do the predictions, unfortunately that library hasn't been updated for a long time 😅

Not sure how this would work with ml5.js worth taking a lot of the docs, but generally speaking always test within the app and in order to improve the results you can make another dataset with more images and stuff. Hope that helps :)

@KonstantinaD
Copy link
Author

KonstantinaD commented May 17, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants