-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Recommendations for running Yolo5 on Android #973
Comments
Hello @jeggers-88, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@jeggers-88 you could try TFLite Android demo with GPU support, since your galaxy tab a sm-t510 has a GPU. I guess the inference time is about 1.5s like Snapdragon 820 GPU. |
Thanks for your answer, great that yolo5 now has inbuilt tflite export possibilities! |
❔Question
Does anybody has recommendations, how to run yolo5 with nice performance on android ?
Additional context
First I tried to export my custom trained yolo5s NN to onnx to import it with opencv. But I was not able to load the onnx File successfully with the newest opencv 4.4.0:
Actually I was successfully able to run the torchscript export with pytorch in my android app. But with very poor performance (nearly 2 seconds inference time on galaxy tab a sm-t510).
Running on my laptop the detect.py shows only ~0.015 seconds (yolo5s with NVIDIA Quadro T2000).
Thanks very much for any help!
The text was updated successfully, but these errors were encountered: