picodet 使用FP16推理报错:'calib' is not supported by Paddle-Lite

lkaoscv7  于 2022-09-16  发布在  Java
关注(0)|答案(5)|浏览(426)

运行环境:

paddle_lite_opt版本:v2.11
paddle_lite预测库版本:v2.11(官网下载:inference_lite_lib.android.armv8.gcc.c++_shared.with_extra.tar.gz)
Host 环境:ubuntu 18.04
运行设备环境:展锐T610
预测后端信息:CPU

模型转换:

paddle_lite_opt --model_dir=./output/picodet_s_192_coco_lcnet/output_inference/picodet_s_192_coco_lcnet --valid_targets=arm --optimize_out=./output/picodet_s_192_coco_lcnet/lite/picodet_s_160_coco_fp16 --enable_fp16=true

预测信息

预测 API:c++
预测选项信息:armv8、单线程
预测库来源:https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.11/inference_lite_lib.android.armv8.gcc.c++_shared.with_extra.tar.gz

错误信息:

2022-08-29 17:56:12.541 15951-15951/? A/DEBUG: Native Crash TIME: 12271867
2022-08-29 17:56:12.541 15951-15951/? A/DEBUG:************************************************
2022-08-29 17:56:12.542 15951-15951/? A/DEBUG: Build detectlib: 'EEBBK/ums512_1h190_Natv_Tablet/ums512_1h190:11/RP1A.201005.001/34505:userdebug/release-keys'
2022-08-29 17:56:12.542 15951-15951/? A/DEBUG: Revision: '0'
2022-08-29 17:56:12.542 15951-15951/? A/DEBUG: ABI: 'arm64'
2022-08-29 17:56:12.543 15951-15951/? A/DEBUG: Timestamp: 2022-08-29 17:56:12+0800
2022-08-29 17:56:12.543 15951-15951/? A/DEBUG: pid: 15901, tid: 15901, name: o.ssd_detection >>> com.baidu.paddle.lite.demo.ssd_detection <<<
2022-08-29 17:56:12.543 15951-15951/? A/DEBUG: uid: 10202
2022-08-29 17:56:12.543 15951-15951/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2022-08-29 17:56:12.543 15951-15951/? A/DEBUG: Abort message: '[F 8/29 17:56:12.438 /island/Paddle-Lite/lite/core/program.cc RuntimeProgram:346] Check failed: (kernels.size() > 0): 0!>0
Error: This model is not supported, because kernel for 'calib' is not supported by Paddle-Lite.

xdyibdwo

xdyibdwo1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档常见问题历史Issue来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQ and Github Issue to get the answer.Have a nice day!

41zrol4v

41zrol4v2#

补充一点:换成高通730G(大核A76)平台也不行

vatpfxk5

vatpfxk53#

使用带fp16标签的库

vfwfrxfs

vfwfrxfs4#

使用带fp16标签的库

谢谢,程序可以跑起来了,这边还想问下arm架构中支持FP16计算的是不是只有大核,如果绑定小核FP16是不是就失效了

eoigrqb6

eoigrqb65#

使用带fp16标签的库

谢谢,程序可以跑起来了,这边还想问下arm架构中支持FP16计算的是不是只有大核,如果绑定小核FP16是不是就失效了

主要是看cpu是否支持armv8.2指令集,比如A55就支持

相关问题