版本、预测库信息:
1)Paddle Lite 版本:branch develop
2)Host 环境:20.04.1-Ubuntu
3)运行设备环境:X86
4)预测后端信息:OpenCL Nvidia 1660 super
预测信息
1)预测 API:C++
2)预测选项信息:
./build.lite.linux.x86.gcc.opencl/lite/api/tools/benchmark/benchmark_bin --uncombined_model_dir=./models/deeplab_mobilenet_fp32_fluid/ --input_shape=1,3,1,1 --warmup=10 --repeats=20 --backend=opencl,x86 --gpu_precision=fp32
Model link
https://paddlelite-demo.bj.bcebos.com/models/deeplab_mobilenet_fp32_fluid.tar.gz
错误信息:GLOG_v=4
I0831 11:06:13.605420 16808 argmax_image_compute.cc:68] kernel_func_name_:argmax_w
I0831 11:06:13.605424 16808 cl_context.cc:38] --- to get program image/argmax_kernel.cl ---
I0831 11:06:13.605427 16808 cl_runtime.cc:156] precision_: CL_PRECISION_FP32
I0831 11:06:13.605428 16808 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
I0831 11:06:13.605482 16808 cl_runtime.cc:341] OpenCL kernel file name: image/argmax_kernel.cl
I0831 11:06:13.605484 16808 cl_runtime.cc:342] Program source size: 9922
I0831 11:06:13.605487 16808 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 ---
I0831 11:06:13.606081 16808 cl_context.cc:42] --- end get program ---
I0831 11:06:13.606088 16808 cl_context.cc:43] --- to create kernel: argmax_w ---
I0831 11:06:13.606091 16808 cl_context.cc:49] --- end create kernel ---
I0831 11:06:13.606096 16808 cl_context.cc:59] --- kernel count: 177 ---
F0831 11:06:13.606132 16808 reshape_op.cc:239] Check failed: unk_dim_idx == -1 (0 vs. -1) Only one input dimension of Attr(shape) can be unknown.
Check failure stack trace:
2条答案
按热度按时间mbjcgjjk1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档、常见问题、历史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 API,FAQ and Github Issue to get the answer.Have a nice day!
sc4hvdpw2#
argmax 在keepdims 为false的时候,并且输入维度为类似这样(?2 ??)一个维度有值,其他维度为?这样的时候,有bug,排期修复中