tf-CNN-CASIA-HWDB icon indicating copy to clipboard operation
tf-CNN-CASIA-HWDB copied to clipboard

部署好了tensorflow-serving,运行web后出现问题,麻烦看一下:

Open geminird opened this issue 5 years ago • 0 comments

"E:\Documents\Python Projects\tf-CNN-CASIA-OLHWDB\web\app\views.py", line 85, in predict img = __sess.run(images)

ValueError: Fetch argument <tf.Tensor 'Reshape:0' shape=(4096,) dtype=float32> cannot be interpreted as a Tensor. (Tensor Tensor("Reshape:0", shape=(4096,), dtype=float32) is not an element of this graph.)

请问出现这个错误,怎么解决,谢谢。

geminird avatar Jan 01 '20 01:01 geminird