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

基于ppyoloe_plus_crn_s_80e_coco训练的模型,Demo运行闪退 #388

Open
orangeLong opened this issue Nov 5, 2024 · 1 comment
Open

Comments

@orangeLong
Copy link

orangeLong commented Nov 5, 2024

你好,我是基于ppyoloe_plus_crn_s_80e_coco自己训练的模型,导出后在PaddleDetection-2.4版本中的Android_demo中替换了预测库版本为:v2.14-rc中的inference_lite_lib.android.armv8.clang.c++_shared.with_extra相关库,运行Demo后有如下报错,麻烦问下是什么原因?

报错信息:...d/Paddle-Lite/lite/operators/split_op.cc:27 CheckShape] Check failed: (param_.axis < static_cast(x_rank)): 1!<0
Image20241105164422820

@cmcamdy
Copy link

cmcamdy commented Nov 7, 2024

shape检查有问题,从报错看是执行split算子的时候输入输出shape的大小不一致,有概率是转模型导致的

  • 1.使用最新版的模型转换工具试试~
  • 2.针对split算子用二分切一下图,定位导致shape不一致的区域,方便进一步分析~

切图工具/print算子

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

2 participants