ocr识别模型部署时遇到ShapeError
Created by: yanmeizhao
具体错误如下:
Error Message Summary:
Error: ShapeError: The number of input channels should be equal to filter channels * groups. But received: the input channels is [3], the shapeof input is [1, 3, 48, 86], the filter channel is [1], the shape of filter is [16, 1, 3, 3],the groups is [1] [Hint: Expected input_channels == filter_dims[1] * groups, but received input_channels:3 != filter_dims[1] * groups:1.] at (/home/install/Paddle/paddle/fluid/operators/conv_op.cc:94) [operator < conv2d_fusion > error] run_impl.sh: line 28: 32112 Aborted (core dumped) ./${DEMO_NAME} [root@8d7415071953 infer_ocr]# 请问识别模型部署的时候有什么需要注意的么?