Tensor Tensor is not an element of this graph.
ibrahimozgon opened this issue · 2 comments
ibrahimozgon commented
Predict gives this error when i try on web app. But it works fine on console.
You can find related issue here:
keras-team/keras#2397
And also worked solution here:
keras-team/keras#2397 (comment)
johncleveland commented
- I would like to request a requirements.txt file and possible a virtualenv with these repos because I cannot get the code as is to work at all.
There are various work arounds. I am interested in the following one: If one alters the code by essentially
getting rid of the load_model() call. It will work on gunicorn, gevent, uwsgi but it will not work on the Flask developmental server???
run_keras_server.txt
githubwei commented
Yeah bumped into above issues too