a simple paddle-mobile-demo
- clone 仓库
- 打开Android Studio
- "open an existing Android Studio Project"
- 目录中选择 paddle-mobile-demo/android/CPU/paddle_mobile_android/
- run and enjoy it
/**
* 描述一个模型的 预处理, 加载, 以及预测等特性
* 封装了与paddle mobile - PML 交互过程
*/
abstract class Model : IModel, AnkoLogger{}
/**
* MobileNetModelImpl 描述了一个modelnet分类模型
* 包含预处理,模型加载,预测过程等
**/
class MobileNetModelImpl : Model() {}
/**
* DEMO的界面, 创建与调用Model对象,
*/
class MainActivity : Activity(){}