编译的paddlelite库运行demo失败
Created by: zhouxingwei
调试环境:armv8 linux 内存:2g 使用Paddle-Lite-Demo工程可以正常运行object_detection_demo。按照:
1. 下载Paddle-Lite源码 并切换到release分支
git clone https://github.com/PaddlePaddle/Paddle-Lite.git cd Paddle-Lite && git checkout release/v2.6
2. 编译Paddle-Lite Android预测库 (armv8, gcc编译)
./lite/tools/build_linux.sh 编译生成的libpaddle_light_api_shared.so push到手机中,运行出现: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted
总的cmake文件如附件。 CMakeLists.txt