-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Classification Issue #52
Comments
@PotatoAim20 thank you for reaching out. Could you please provide more details about the classification issue you're experiencing? This will help us assist you better. |
Hello, I'm trying to use the example to classify images, the yolo model work correct on python, but when I export to ftlite and try to use it in the example for imageClassification nothing happens. The example have commented the classification part, so I change the comments to the detection part and also change the model name with my model. Is the imageClassification work? Need I a mlmodel only, or can I use the Classification with tflite files? Regards! |
@sruizhuenei hello! You can use YOLO models for image classification with TFLite files. Ensure your TFLite model is correctly exported and integrated into your application. If issues persist, verify compatibility with the latest version of the package. For more details, check the Ultralytics documentation. |
Thanks for you reply..but I'm trying with the project example that comes with the plugin... |
Please ensure the example project is up-to-date and correctly configured for TFLite. If the issue persists, try checking the model integration steps or consult the example's documentation for any specific requirements. |
I ran the "flutter pub upgrade --major-versions" command to ensure that all are up to date. ...writting this response I realize that the example doesn't have a yolov8n-cls_int8.tflite and I was using the detection model trying to get classification images. The detection work OK... I need to review the classification model export task |
It sounds like you've identified the issue. Make sure to export the correct classification model using the appropriate export command. If you need further assistance, feel free to ask! |
Not really 'cos I found that the example doesn't have a cls model for imageClassification, but I'm using my model trained for imageClassification and the metadata file for my model but I don't get any response neither. Could you please help me with the example validating the classification feature. Regards! |
Please ensure your model is correctly exported as a TFLite classification model and integrated into the example. If the issue persists, verify compatibility with the latest package version. |
Thanks for the advice Paula. We will reviewing it a couple of days, but if you have this problem solved in some project please share the solution. Regards! |
Thank you for sharing your experience. Please ensure your model is correctly optimized for mobile use. Differences in performance can occur due to hardware limitations. Double-check the preprocessing steps in your app to match those used during training. If the issue persists, consider retraining with more diverse data. |
Well, the same model in the same app work different. If I use a picture from the gallery the inference is correct |
@sruizhuenei it seems like there might be a difference in preprocessing between the camera and gallery inputs. Ensure both use the same preprocessing steps. If the issue persists, verify with the latest package version. |
Hi, me again..I'd tryed to mimic the UltralyticsYoloCameraPreview() to enhance the live clasification, that is the error that I saw in this plugin, but I didn't have good results :( Could you please upload a live camera classification example? Regards! |
Hi, thanks for reaching out. We currently don't offer private support channels, but I recommend checking the latest updates in the repository for any new examples. If you have further questions, feel free to ask here! |
yes, you recommend me that in all responses.. |
You're welcome! If you have any other questions or need further assistance, feel free to ask. |
No description provided.
The text was updated successfully, but these errors were encountered: