Closed zlg9folira closed 3 years ago
The issue got solved. For those who ran into the same issue, this is a good reference: https://stackoverflow.com/a/49592879/12820646. In particular in this example,pred
must be extracted from the frozen graph, the same way x
is extracted.
Thank you @stuarteiffert for the great work. I trained this model on my data (34 features instead of 38) and saved the model ckpt. I am struggling to restore this model and do prediction on a different machine and within different session.
Since I have not constructed
pred
it throwsname 'pred' is not defined
. Since, this script seats in a new code where there is no re-training process, I need to make sure the first argument insess.run()
is valid. Obviously, I am missing few lines which I need help. Thank you