tensorflow.image.rgb_to_grayscale报错ValueError:Dimensions must be equal,but are 4 and 3 for....
ValueError: Dimensions must be equal, but are 4 and 3 for ‘rgb_to_grayscale/Tensordot/MatMul’ (op: ‘MatMul’) with input shapes: [1512,4], [3,1].我的解决是把图片的位深度改为24就可以了,用ps啥的.原图是32位的所以就报错了...