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

Export graph #3

Open
hvico opened this issue Jan 21, 2020 · 0 comments
Open

Export graph #3

hvico opened this issue Jan 21, 2020 · 0 comments

Comments

@hvico
Copy link

hvico commented Jan 21, 2020

Hello,

I'm trying to export this model and its weights into a frozen graph. So far I did this in the "save images" part of the training loop:

saver = tf.train.Saver()
saver.save(sess, 'my_stn_model_' + str(epoch))
tf.train.write_graph(sess.graph_def, ".", "test.pb", False) #proto

Then I have my pb and the weights. But I am unable to generate a frozen graph from this because I cannot guess the output node in the graph (which is a really complex one it seems).

I attached the pb which I am able to visualize using Netron:

test.zip

Thanks in advance.

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

1 participant