keras报错 ValueError: Shape must be rank 1 but is rank 0 for 'bn_conv1/Reshape_4' (op: 'Reshape') 不用降级
问题:ValueError: Shape must be rank 1 but is rank 0 for ‘bn_conv1/Reshape_4’ (op: ‘Reshape’) with input shapes: [1,1,1,64], [].情况:1.keras是2.2.4版本(keras-gpu),后端为tensorflow2.你在用channels_first且用了bn层(不是用...
原创
2019-08-04 23:12:49 ·
601 阅读 ·
0 评论