tensorflow-yolov4-tflite icon indicating copy to clipboard operation
tensorflow-yolov4-tflite copied to clipboard

请问如何将得到的tflite模型进行android的部署

Open mengxiangqiqin opened this issue 3 years ago • 2 comments

我已经得到了yolov4的tflite模型,并且已经配置好了android studio(android虚拟机),我是应该用android studio去打开项目中的android文件夹吗,具体操作麻烦有大神可以指点一下

mengxiangqiqin avatar Mar 22 '22 14:03 mengxiangqiqin

https://andy6804tw.github.io/2021/09/02/android-tflite-regression-model-deploy/

leeprinxin avatar Apr 20 '22 06:04 leeprinxin

@mengxiangqiqin Hi, to deploy the model to android platform, you could follow these steps:

  1. Clone this repo to your local
  2. Install Android Studio
  3. Inside the Android Studio, click "file" --> "open", to open this android project. You should open the "android" directory.
  4. After that, change the model path and label path, set isTiny = true
  5. Done

If the app crash when you started it, see the Logcat in Android Studio, and figure out the error msg.

TZECHIN6 avatar Jun 16 '22 06:06 TZECHIN6