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

Issue freezing graph #35

Open
mdlockyer opened this issue Apr 19, 2018 · 1 comment
Open

Issue freezing graph #35

mdlockyer opened this issue Apr 19, 2018 · 1 comment

Comments

@mdlockyer
Copy link

I've been testing out this implementation and it's quite good! I do have a slight issue though.

I'm trying to freeze the graph into a pb file, however I cant seem to ascertain the proper output node name. From my understanding, the output should be conv6, however when I try to convert the vars to constants the output name conv6 isn't found in the graph. Any ideas?

@kmonachopoulos
Copy link

Hello @MichaelDylan77,

In the inference script you will see that the output of the network before passing the information to the decoder is :

raw_output_up = tf.argmax(raw_output_up, axis=3)

Converting the ckpt to tf.events and visualizing it to tensorboard you will see that the output of the network is : ArgMax layer without scope name.

screenshot from 2018-09-17 11-55-50

Don't forget to call the decoder : pred = decode_labels(raw_output_up, img_shape, num_classes) after inference using the .pb file.

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