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
paddlie-lite推理静态库链接后推理报错 #10493
Comments
已收到您的issue,等内部同学看一下 |
没引用paddleop,spaddlekernels这几个头文件 |
静态库一定要引用这三个头文件: |
添加后报错变成了:(.text._ZN6paddle4lite3arm4math25conv_depthwise_5x5s2_int8IfEEvPT_PKaS7_PKfS9_biPfiiiiiiiiPNS0_7ContextILNS_8lite_api10TargetTypeE4EEE[_ZN6paddle4lite3arm4math25conv_depthwise_5x5s2_int8IfEEvPT_PKaS7_PKfS9_biPfiiiiiiiiPNS0_7ContextILNS_8lite_api10TargetTypeE4EEE]+0x2d4): undefined reference to |
看起来没有找到 OMP的符号,你需要重新编译一个没有 OMP 的 LITE 库。 Line 66 in ddd8fd8
ON 改成 OFF |
为使您的问题得到快速解决,在建立 Issue 前,请您先通过如下方式搜索是否有相似问题: 历史 issue, FAQ 文档, 官方文档
建立 issue 时,为快速解决问题,请您根据使用情况给出如下信息:
1)Paddle Lite 版本:V2.12 inference_lite_lib.android.armv8.clang.c++_static.with_extra.tar.gz
2)Host 环境:Ubuntu20.04
1)模型名称 ch_PP-OCRv4_det_infer转nb
2)模型链接 官方检测模型
The text was updated successfully, but these errors were encountered: