Paddle
Paddle copied to clipboard
使用ifelse结构报错
使用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的维度。

看报错信息是参数和梯度的纬度信息不匹配导致的。排查下相关代码吧。
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。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。