Android端运行口罩检测模型失败
Created by: xsbrsg
参照Android demo https://github.com/PaddlePaddle/Paddle-Lite-Demo/tree/master/PaddleLite-android-demo/image_classification_demo,模型目录如下: ,app启动后闪退,断点调试发现出错在paddlePredictor = PaddlePredictor.createPaddlePredictor(config);这一行。logcat日志报错: 2019-01-25 17:53:38.549 15839-15867/com.baidu.paddle.lite.demo.image_classification A/libc: /Volumes/Android/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type std::bad_alloc: std::bad_alloc" failed 2019-01-25 17:53:38.549 15839-15867/com.baidu.paddle.lite.demo.image_classification A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 15867 (Predictor Worke) 请问问题出在哪里,该如何解决,谢谢!