Answer the question
In order to leave comments, you need to log in
Tensor Tensor("activation_5/Softmax:0", shape=(?, 2), dtype=float32) is not an element of this graph?
I trained the model and saved it to a file. Then I want to predict one example using the predict method. This error appears Tensor Tensor("activation_5/Softmax:0", shape=(?, 2), dtype=float32) is not an element of this graph.
Answer the question
In order to leave comments, you need to log in
The model must be loaded into the same Tensorflow session that will be used for further predictions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question