ValueError: Input 0 of layer sequential_1 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [None, 256, 256]

前端 未结 0 1135
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 02:42

Everything is okay until I convert my image to grayscale. So the rgb\'s shape is (256, 256, 3) but grayscale has (256, 256). When I feed it, I get that error.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题