Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the well-trained model #95

Open
Ezereal opened this issue Mar 21, 2019 · 1 comment
Open

How to use the well-trained model #95

Ezereal opened this issue Mar 21, 2019 · 1 comment

Comments

@Ezereal
Copy link

Ezereal commented Mar 21, 2019

Hello, have anyone known how to use the well-trained model to do some inference? I directly use tf.train.import_meta_graph and saver.restore to load the model and use the sess.run to the expected result. But when the program comes to the session.run, it jammed and could not get any result. I think it maybe relate to that the model don't have any placeholder. So I want to how to use the well-trained model to do inference? Thank you very much!

@ANCHOR99
Copy link

Hello, I used tf.train.import_meta_graph to load the optimized TensorFlow meta graph, but there is a KeyError: The name 'XXX' refers to a Tensor which does not exist. The operation, 'XXX', does not exist in the graph. Did you have this problem? Or could you please let me know how you load the dataset? Looking forward to your reply sincerely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants