Hello,
The previously proposed solution did not satisfied me as i did not want to downgrade Keras and TF. After searching online, I found this fix, which worked for me :
I’m using keras 2.3.1, tensorflow 2.0.0, python 3.6, linux Mint 19.2 Cinnamon.
My project is based on Waitress, so I can’t use “threaded=False”.I found an UGLY workaround…
In the main “post manager” function I put this code…
import keras.backend.tensorflow_backend as tb
tb._SYMBOLIC_SCOPE.value = True
And this solved the problem for me…
I hope it will be useful to find a solution
By @ccasadei
I hope this can be a solution for others having the same problem as us.
Best,