我的目标是将输出图像的大小从 [32,32,1] 调整为 [8,8,1]
我尝试重塑,但出现了错误:
Output_model = Reshape((8,-1))(out_1)
Error when checking target: expected reshape_1 to have shape (8,32) but got array with shape (32,1)
我该如何解决这个问题?
非常感谢
我的目标是将输出图像的大小从 [32,32,1] 调整为 [8,8,1]
我尝试重塑,但出现了错误:
Output_model = Reshape((8,-1))(out_1)
Error when checking target: expected reshape_1 to have shape (8,32) but got array with shape (32,1)
我该如何解决这个问题?
非常感谢