TFLite-Object-Detection-Android-App-Tutorial-Using-YOLOv5 icon indicating copy to clipboard operation
TFLite-Object-Detection-Android-App-Tutorial-Using-YOLOv5 copied to clipboard

close android app

Open baghaee-sr opened this issue 2 years ago • 6 comments

Closing the software When I run the software on my mobile, it closes

baghaee-sr avatar Jul 04 '22 17:07 baghaee-sr

Cant able to run the app it closes suddenly

Satyajit1993 avatar Jul 19 '22 15:07 Satyajit1993

i have posted this before on the previous issues. Sorry if I am late. Don't forget to change the size of the input images on the "Detect Factory" file for your custom models. Just a little reminder so you don't get errors

juananmonte avatar Oct 13 '22 03:10 juananmonte

it still crashes

K4elthaz avatar Nov 26 '22 17:11 K4elthaz

for me also

rohinr7 avatar Mar 18 '23 05:03 rohinr7

It's difficult to provide a specific solution without more information about the error and your Android app. However, here are some general troubleshooting steps you can try to use your TFLite model in an Android app:

Verify that the TFLite model is working properly: Before integrating the TFLite model into your Android app, you should verify that it works properly. You can do this by using the TFLite interpreter in a Python script or notebook to load the model and make predictions on test data. If there are any issues with the model, you should address them before proceeding to the next steps.

Integrate the TFLite model into your Android app: You can integrate the TFLite model into your Android app by adding it to the app's "assets" folder and loading it using the TFLite interpreter. You can follow the TensorFlow Lite Android quickstart guide for step-by-step instructions on how to do this: https://www.tensorflow.org/lite/guide/android

AarohiSingla avatar Mar 23 '23 05:03 AarohiSingla

Hey @AarohiSingla I have tried implementing your video but got a little confused because If I am using nano yolov8 weights then what repository do we have to copy basically cause the files in yolov5 are way different from the files in yolov8 though I have converted my trained model to yolov8 but still in android studio there are files you have linked to yolov5s or something so what shall I do about those files?

Thanks in Advance Best Regards Shaurya

GitProgrammerGuy32 avatar Oct 01 '23 06:10 GitProgrammerGuy32