↧
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 ArticleAnswer 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 ArticleAnswer 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 ArticleValueError: 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