Skip to content

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

Open
@geminird

Description

@geminird

"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.)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions