ValueError: Shapes (2, 1, 10, 100) and () are incompatible

ValueError: Shapes (2, 1, 10, 100) and () are incompatible_第1张图片

将文件38行
 grad = tf.concat(0, grads)改为
 grad = tf.concat(grads, 0)即可

你可能感兴趣的:(Tensorflow,tensorflow)