Tensor is not an element of this graph; deploying Keras model

前端 未结 6 870
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-28 15:30

Im deploying a keras model and sending the test data to the model via a flask api. I have two files:

First: My Flask App:

# Let\'s startup the Flask          


        
6条回答
  •  伪装坚强ぢ
    2020-12-28 16:20

    I had the same problem. it was resolved by changing TensorFlow-1 version to TensorFlow-2. just uninstall ver-1 and install ver-2.

提交回复
热议问题