首页 Paddle框架 帖子详情
调用模型提示错误
收藏
快速回复
Paddle框架 问答深度学习 852 0
调用模型提示错误
收藏
快速回复
Paddle框架 问答深度学习 852 0

image= fluid.layers.data(name = 'image',shape = [1,1,-1,-1], dtype='float32')
y_act = fluid.layers.data(name='y_act', shape=[1,1,-1,-1], dtype='float32')
y_pre = self.conv2d_neural_network(image)

为什么调用模型会提示错误如下:

Due to the settings of padding(0), filter_size(2) and stride(2), the output size is less than 0, please check again. Input_size:-1 at

0
收藏
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户