Using tensorflow in Android

Main reference: https://omid.al/posts/2017-02-20-Tutorial-Build-Your-First-Tensorflow-Android-App.html

1. Preparing the TF Model, mainly a serialized GraphDef and checkpoint file
2. Generate optimized_tfdroid.pb file according to the above two files, which can be used for Android
3. Compile and generate or directly use the jar and so compiled by others to Android
4.Android call interface

The above links have detailed codes and introductions that are not translated here.

 

Also see https://blog.mindorks.com/android-tensorflow-machine-learning-example-ff0e9b2654cc

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326391337&siteId=291194637