conversion of image shape

asked 2019-10-11 05:11:01 -0500

gowsith123 gravatar image

I have ten image of size(10,16384), when I feed one image the size is (16384,) and the neural network accepts only image of shape(?,16384), So it flags me following error. Please help me to resolve this issue.

ValueError: Cannot feed value of shape (16384,) for Tensor 'MNIST_CNN/X:0', which has shape '(?, 16384)'

edit retag flag offensive close merge delete

Comments

I have ten image of size(10,16384),

please explain. what are you trying to do ? what kind of network ?

also, seing your current code might be useful.

berak gravatar imageberak ( 2019-10-11 05:15:00 -0500 )edit

and how would it be related to opencv ?

berak gravatar imageberak ( 2019-10-11 07:26:11 -0500 )edit