I\'m getting this error
\'ValueError: Tensor Tensor(\"Placeholder:0\", shape=(1, 1), dtype=int32) is not an element of this graph.\'
I had this issue when trying to make a model using another class that uses keras to create a model. I got this issue corrected by doing the following
import nn_classifierclass as cls
from keras import backend
for repeat in range(repeats):
backend.clear_session() ##NOTICE THIS
neural_net = cls.Classifier(.....)
neural_net.keras_fcn_classifier()