Answer by Alberto Perez for Tensorflow cannot feed the value of shape(1,) for...
First when you save, you have to add to the collection the placeholders you need tf.add_to_collection('i', i) and then retrieve them and pass them the feed_dict. In your example is "i": i =...
View ArticleAnswer by Sanyam Mehra for Tensorflow cannot feed the value of shape(1,) for...
The prediction tensor is obtained by an argmax on y. Instead of returning only prediction, you can add y to your output feed when you execute sess.run. output_feed = [prediction, y] preds, probs =...
View ArticleAnswer by lenlehm for Tensorflow cannot feed the value of shape(1,) for...
I figured out the problem! First I need to restore all of the values (weights and biases and matmul them seperately). Second I need to create the same input as in the trained model, in my case: X =...
View ArticleTensorflow cannot feed the value of shape(1,) for Tensor 'x:0' which has the...
I just browsed through Stack Overflow and other forums but couldn't find anything helpful for my problem. But it seems related to this question. I currently have a trained model of Tensorflow (128...
View Article
More Pages to Explore .....