Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

使用ifelse结构报错

Open Yukizzz opened this issue 7 years ago • 2 comments

使用ifelse结构,true和false block里面网络结构相同,都是简单的3层fc+bn。 报错在下面的代码上 https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/fluid/operators/controlflow/conditional_block_op.cc#L234 去掉bn只留3层fc之后,报了如下新的错误。fc分别是256-128-64维,256是第一层fc的维度。 image

Yukizzz avatar Jul 08 '19 06:07 Yukizzz

看报错信息是参数和梯度的纬度信息不匹配导致的。排查下相关代码吧。

sandyhouse avatar Jul 08 '19 08:07 sandyhouse

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot-old avatar Jul 13 '20 09:07 paddle-bot-old