【发布时间】:2019-11-17 16:29:14
【问题描述】:
我的目标是将输出图像的大小从 [32,32,1] 调整为 [8,8,1]
我尝试使用 reshape 进行此操作,但出现错误:
Output_model = Reshape((8,8,-1))(out_1)
Error when checking target: expected reshape_1 to have shape (8, 8, 32) but got array with shape (32, 32, 1)
我该如何解决这个问题??
非常感谢
【问题讨论】:
标签: python keras resize reshape