PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.78k stars 2.88k forks source link

部署到yolo模型部署到手机端 提示 cast 不支持 #4852

Open MrL-code opened 2 years ago

MrL-code commented 2 years ago

5056-5056/com.baidu.paddle.lite.demo.yolo_detection A/Paddle-Lite: [F 12/ 8 15:44:59. 88 /island/Paddle-Lite/lite/core/program.cc RuntimeProgram:347] Check failed: (kernels.size() > 0): 0!>0 Error: This model is not supported, because kernel for 'cast' is not supported by Paddle-Lite.

MrL-code commented 2 years ago

例子中的模型可以跑,重新通过opt转换的模型就不行,到run步骤就卡死

MrL-code commented 2 years ago

好像是生成nb模型的lite版本与手机端用的不一致