Quantcast
Channel: ValueError: Cannot feed value of shape () for Tensor 'input_example_tensor:0', which has shape '(?,)' - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by mister_potato for ValueError: Cannot feed value of shape () for...

You have to pass your sample using Example API: feature = { 'SepalLength': tf.train.Feature(float_list=tf.train.FloatList(value=[5.1])), 'SepalWidth':...

View Article


Answer by Yserbius for ValueError: Cannot feed value of shape () for Tensor...

'G:\AI models\serve\\1519413839' should be 'G:\\AI models\\serve\\1519413839' Backslashes need to be escaped. It's possible that the file isn't being read making the predictor function have a...

View Article


Answer by G_glop for ValueError: Cannot feed value of shape () for Tensor...

() are the dimensions of a zero rank tensor (ie. a scalar), and (?,) is a rank one tensor (vector) of unknown dimension. Without the complete stack trace that's all I'm able to tell you.

View Article

ValueError: Cannot feed value of shape () for Tensor...

Why this error appear? I cannot find similar to mine case with an answer with an explanation why that's happening. There are a lot of info there for such errors, but seems like it depends on a lot of...

View Article
Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>