替换版面分析模型 #13351
Unanswered
Andy197527
asked this question in
Q&A
替换版面分析模型
#13351
Replies: 3 comments 4 replies
-
是不是没有固定shape呀 |
Beta Was this translation helpful? Give feedback.
3 replies
-
你描述的太抽象了,什么环境,怎么替换的,有没有可复现的demo都没有 |
Beta Was this translation helpful? Give feedback.
0 replies
-
你用的动态图模型还是静态图模型? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
您好,在这里我想咨询一些问题,就是关于PPstructureV2里边的版面分析模型的问题,我自己根据你们的方法训练好了一个版面分析模型,但是我却无法替换上去,就是替换掉原先的版面分析模型。我自己训练的版面分析模型也能推理,但是一替换就出错,也咨询了好多人,但是仍然无法解决,特意来咨询一下。
用的picodet_lcnet_x1_0_fgd_layout_cdla训练的,希望能给予解答。一直出现的错误是:ValueError: (InvalidArgument) The input of Op(Conv) should be a 4-D or 5-D Tensor. But received: input's dimension is -1, input's shape is [].
[Hint: Expected in_dims.size() == 4 || in_dims.size() == 5 == true, but received in_dims.size() == 4 || in_dims.size() == 5:0 != true:1.] (at ..\paddle/phi/kernels/cpu/conv_util.h:137)
[operator < fused_conv2d_add_act > error]
Beta Was this translation helpful? Give feedback.
All reactions