Closed brucejunlee closed 6 years ago
The tensor you are feeding has a different dimension (32,0) then expected (32,). You can apply np.squeeze
to remove this dimension.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.squeeze.html
Hey,
I am getting the following error:
ValueError: Cannot feed value of shape (8,) for Tensor 'Placeholder_1:0', which has shape '(?, 1)'
What should I do here?
you need to expand the dimension of your (8,)
array with np.expand_dims()
.
np.expand_dims(array,1)
So that the array has dimension (8,1)
.
Hi,
I get the error ValueError: Cannot feed value of shape (1,) for Tensor u'Placeholder:0', which has shape '(1,
908)'`
I am not sure how to fix this. Can anyone help?
@D-Niermann where would I need to add that? in sessions.py or in the train.py/batch_interference.py code?
Hello, i get similar error ValueError: Cannot feed value of shape (50, 397) for Tensor 'Placeholder_1:0', which has shape '(?, 253)'
Dear Charles, There are some problems when I perform the classification task using my own data. Can you tell me what's wrong?