Paddle-Lite [OpenCL] pp_liteseg crash

goucqfw6  于 2022-10-27  发布在  其他
关注(0)|答案(4)|浏览(240)
  • 版本、环境信息:

   1)Paddle Lite 版本:develop
   2)Host 环境:Ubuntu 20.04.5 GCC 9.4

  • 模型信息

   1)模型名称 pp_liteseg_stdc1_cityscapes_1024x512_scale0.5_160k
2)模型链接 链接: https://pan.baidu.com/s/1i287FhzkE56QKmrgVHXopA?pwd=b9be 提取码: b9be

  • 问题描述:
I1026 14:43:12.881855 518678 bilinear_interp_image_compute.cc:106] in_h: 64, in_w: 128
I1026 14:43:12.881857 518678 bilinear_interp_image_compute.cc:107] out_h: 512, out_w: 1024
I1026 14:43:12.881860 518678 cl_context.cc:59]  --- kernel count: 157 --- 
I1026 14:43:12.881862 518678 bilinear_interp_image_compute.cc:121] default_work_size: 5, 1024, 512
I1026 14:43:12.881964 518678 bilinear_interp_image_compute.cc:157] global_work_size:[2D]:5 1024 512
I1026 14:43:12.881971 518678 argmax_image_compute.cc:68] kernel_func_name_:argmax_c
I1026 14:43:12.881973 518678 cl_context.cc:38]  --- to get program image/argmax_kernel.cl --- 
I1026 14:43:12.881975 518678 cl_runtime.cc:156] precision_: CL_PRECISION_FP32
I1026 14:43:12.881978 518678 cl_runtime.cc:157] OpenCL build_option:  -DDATAINIT=-FLT_MAX  -DFLAG_TYPE4=int4  -cl-fast-relaxed-math -cl-mad-enable -DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE 
I1026 14:43:12.881985 518678 cl_runtime.cc:341] OpenCL kernel file name: image/argmax_kernel.cl
I1026 14:43:12.881987 518678 cl_runtime.cc:342] Program source size: 9969
I1026 14:43:12.881989 518678 cl_runtime.cc:323]  --- begin build program from source -> image/argmax_kernel.cl -DDATAINIT=-FLT_MAX  -DFLAG_TYPE4=int4  -cl-fast-relaxed-math -cl-mad-enable -DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE  --- 
I1026 14:43:12.883388 518678 cl_context.cc:42]  --- end get program --- 
I1026 14:43:12.883394 518678 cl_context.cc:43]  --- to create kernel: argmax_c --- 
I1026 14:43:12.883399 518678 cl_context.cc:49]  --- end create kernel --- 
I1026 14:43:12.883402 518678 cl_context.cc:59]  --- kernel count: 158 --- 
I1026 14:43:12.883507 518678 layout_image_compute.cc:190] kernel_func_name_:image2d_to_buffer
I1026 14:43:12.883509 518678 cl_context.cc:38]  --- to get program image/layout_kernel.cl --- 
I1026 14:43:12.883512 518678 cl_runtime.cc:156] precision_: CL_PRECISION_FP32
I1026 14:43:12.883513 518678 cl_runtime.cc:157] OpenCL build_option: -DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE -cl-fast-relaxed-math -cl-mad-enable
I1026 14:43:12.883517 518678 cl_runtime.cc:184]  --- program -> image/layout_kernel.cl-DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE -cl-fast-relaxed-math -cl-mad-enable has been built in cache --- 
I1026 14:43:12.883518 518678 cl_context.cc:42]  --- end get program --- 
I1026 14:43:12.883520 518678 cl_context.cc:43]  --- to create kernel: image2d_to_buffer --- 
I1026 14:43:12.883524 518678 cl_context.cc:49]  --- end create kernel --- 
I1026 14:43:12.883531 518678 cl_context.cc:59]  --- kernel count: 159 --- 
F1026 14:43:12.883608 518678 reshape_op.cc:239] Check failed: unk_dim_idx == -1 (1 vs. -1) Only one input dimension of Attr(shape) can be unknown.

***Check failure stack trace:***

好像是有动态尺度的?但是这个output大小应该是和输入端大小绑定

hmmo2u0o

hmmo2u0o1#

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

puruo6ea

puruo6ea3#

deeplabV3也是这样,就不发了

snz8szmq

snz8szmq4#

@sprouteer 帮忙确认下这个问题哈

相关问题