-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
How to train ze models right!? #90
Comments
Guten Tag, Hans here 🍻 It sounds like you're trying to figure out ze training process for your models. Using Teachable Machines can be a valid approach, but it's important to ensure that ze models are trained correctly and that ze data is diverse enough. Your issue mainly seems to be about detection accuracy, but it would help if you could provide some logs from either your setup or any error messages. For Android, you can gather logs using Also, please make sure you're following ze guidelines in our documentation for integrating your models correctly. If you're still having issues after that, we can dig deeper! If you're finding this project helpful, consider sponsoring it to get more dedicated attention from mrousavy: Sponsor mrousavy.
|
Hans, thank you so much for this schnelle antwort! Dankeschön |
Hans, I'm sure you know how to make a good Jägerschnitzel, do you? |
😂 |
To be fully honest, I have never trained my own models. I always used pre-trained models, so I don't really know how to answer your question, sorry. |
Ah, no worries, I'll keep on exploring! I'm sure I'm pretty close to getting it right, as it is already managing to show a class from the model but it seems like it is unable to continuously process / check for the other classes. Anyway, is Hans pissed because I asked for Jäger instead of Wiener Schnitzel? He's not getting back to me and I feel its a personal thing? |
Btw, thanks for sharing all this! Pretty nice stuff you are working on! |
Alrighty, I figured out what was wrong and now its working !!! I was using the wrong data type to process the model. My Code was using float32 but it should have been unit8 - after changing it it works like a charm. I'm sharing the code here in case anyone else wants to do this, It is mostly AI generated so spare me on the "clean code" best practices comments :D How to:
This process allows you to create and implement a personalized object detection system in your own projects. Setup:React + Expo: Packages used:
Code:
|
Maybe Hans already has Feierabend and is onto his 6th beer already |
Wiener schnitzel lunch |
Hello Hans and "ze" others,
I was wondering, how you are training models to get ze best results?
Is it possible to use something as simple as Teachable Machines to train a couple of objects, load the model.tflite into my project and then using vision camera have it detect the objects I trained?
I've basically set everything up for that atm, but the camera always only detects the same object, even if it's not showing or I hold other object into the camera.
I've also told AI to make me a model trainer for this based on python, which using tensorflow and things like EfficientNetB0 or MobileNetV2 created models and labels, but here also the same problem came up - it will always just detect one class from the set and nothing else.
Is training my model using Teachable Machines just a really stupid approach? If so what would Brian Boitano do?
The text was updated successfully, but these errors were encountered: