Cannot interpret feed_dict key as Tensor: Tensor Tensor(“Placeholder:0”, shape=(135162, 6)

from keras import backend as K

K.clear_session()

在model.predict()之后添加上述代码即可

参考https://stackoverflow.com/questions/57426984/cannot-interpret-feed-dict-key-as-tensor-tensor-tensorplaceholder0-shape

你可能感兴趣的:(python)