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

name is not in subgraph #2

Closed
un-lock-me opened this issue May 2, 2017 · 2 comments
Closed

name is not in subgraph #2

un-lock-me opened this issue May 2, 2017 · 2 comments
Labels

Comments

@un-lock-me
Copy link

hi and thanks for your code,
when I am freezing it all the times raises an error that
extract_sub_graph
assert d in name_to_node_map, "%s is not in graph" % d
AssertionError: predictions is not in graph,

do you have any idea of this

@aqibsaeed
Copy link
Owner

aqibsaeed commented May 2, 2017

Explicitly name input and output nodes of the model to avoid this error. Make sure the operation/tensor named "predictions" is in the graph.

@un-lock-me
Copy link
Author

yea u are right, the name was but it seems it was seeking for the last output, because I had both predictions and target as the output, when I put target it gets fixed again thanks, good job
please upload your android part that uses this model it would be of help definetely

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

No branches or pull requests

2 participants