PaddlePaddle / Paddle-Lite-Demo

lib, demo, model, data
Apache License 2.0
670 stars 281 forks source link

ppoce error #355

Closed ZhaoMonica closed 1 month ago

ZhaoMonica commented 1 year ago

andriod E/IPCThreadState: attemptIncStrongHandle(84): Not supported

ZhaoMonica commented 1 year ago

04/19 18:10:02: Launching 'app' on OPPO PEEM00. Install successfully finished in 134 ms. $ adb shell am start -n "com.baidu.paddle.lite.demo.object_detection/com.baidu.paddle.lite.demo.ppocr_demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Print the above information and immediately return

ZhaoMonica commented 1 year ago

5.621 ...c/Paddle-Lite/lite/core/model/base/io.cc:46 BinaryFileReader] Check failed: file_: Unable to open file: /storage/emulated/0/Android/data/com.baidu.paddle.lite.demo.object_detection/files/models/ch_ppocr_mobile_v2.0_cls_slimopt.nb E/libc++abi: terminating with uncaught exception of type paddle::lite::PaddleLiteException: Paddle-Lite C++ Exception: [F 4/19 18:29: 5.621 ...c/Paddle-Lite/lite/core/model/base/io.cc:46 BinaryFileReader] Check failed: file: Unable to open file: /storage/emulated/0/Android/data/com.baidu.paddle.lite.demo.object_detection/files/models/ch_ppocr_mobile_v2.0_cls_slim_opt.nb A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 28698 (bject_detection), pid 28698 (bject_detection)

1Q43 commented 1 year ago

It seems that you haven't downloaded the model to the specified directory.Did you perform the following steps?

pre