Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picodet_detection_demo 升级替换官网的 预编译so 文件报错 #10369

Open
lizheng1992 opened this issue Aug 24, 2023 · 3 comments
Open

Comments

@lizheng1992
Copy link

Timestamp: 2023-08-24 20:49:44+0800
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A pid: 17195, tid: 17224, name: GLThread 24016 >>> com.baidu.paddle.lite.demo.ssd_detection <<<
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A uid: 10254
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A Abort message: 'terminating with uncaught exception of type std::exception: std::exception'
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x0 0000000000000000 x1 0000000000004348 x2 0000000000000006 x3 0000007c33a87820
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x8 00000000000000f0 x9 8b6265d5c5e066d4 x10 0000000000000000 x11 ffffffc0fffffbdf
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x12 0000000000000001 x13 0000000064e751e8 x14 001ecf0aed4da858 x15 00003175f255044c
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x16 0000007f968d4c80 x17 0000007f968b6b70 x18 0000007cb1383b70 x19 000000000000432b
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x20 0000000000004348 x21 00000000ffffffff x22 00000000ffffff80 x23 00000000ffffffc8
2023-08-24 20:49:44.597 17272-17272 DEBUG pid-17272 A x24 0000007c33a87a80 x25 0000007c33a87950 x26 0000007c33a87990 x27 0000007c33a88038
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A x28 0000007c33a88158 x29 0000007c33a878a0
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A lr 0000007f9686a3e0 sp 0000007c33a87800 pc 0000007f9686a40c pst 0000000000000000
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A backtrace:
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #00 pc 000000000004e40c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #1 pc 0000000000412738 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #2 pc 0000000000412898 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #3 pc 000000000040f6bc /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #4 pc 000000000040ede0 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #5 pc 000000000040ed60 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (__cxa_throw+120) (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #6 pc 000000000035b37c /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #7 pc 00000000003b62c0 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #8 pc 00000000003b6204 /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (paddle::lite::RuntimeProgram::Run()+52) (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #9 pc 00000000003c3b4c /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libpaddle_light_api_shared.so (BuildId: f9edc7993c1c57d2d4608783d535ae69214fc6fe)
2023-08-24 20:49:44.598 17272-17272 DEBUG pid-17272 A #10 pc 0000000000084b1c /data/app/~~yHZ1-RRuO8rnqUWEH5NfcA==/com.baidu.paddle.lite.demo.ssd_detection-6L6bPXXSrQAmY1sb1WTrSQ==/lib/arm64/libNative.so (BuildId: 6e947636b8a4d87fffc5a57632df769dae09db20)

@MuShangCC
Copy link
Collaborator

是否能提供详细的demo运行信息和 paddlelite 库版本?

@hong19860320
Copy link
Collaborator

demo 自带的 nb 文件和 Paddle Lite 库是绑定的,所以需要使用 opt 工具重新生成 nb 文件替换原来的 nb 模型,同时切记替换成对应版本 Paddle Lite 的头文件。

@hong19860320
Copy link
Collaborator

hong19860320 commented Feb 23, 2024

建议使用文档 https://www.paddlepaddle.org.cn/lite/v2.12/demo_guides/arm_cpu.html 提供的 https://paddlelite-demo.bj.bcebos.com/devices/generic/PaddleLite-generic-demo_v2_12_0.tar.gz ,进入 object_detection_demo 目录后,执行 ./run_with_adb.sh picodet_relu6_int8_416_per_channel picodet_coco_416.txt test android arm64-v8a cpu UQG0220A15000356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants