Cannot interpret feed_dict key as Tensor: Tensor Tensor(“Placeholder:0”, shape=(3, 3, 3, 32), dtype=float32) is not an element of this graph
I had the same issue in Flask. The following code resolved it for me:

from keras import backend as K
K.clear_session()


Also read this discussion.