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

What's your output node of your model file ?help. #8

Closed
wangyarui opened this issue Nov 21, 2017 · 6 comments
Closed

What's your output node of your model file ?help. #8

wangyarui opened this issue Nov 21, 2017 · 6 comments

Comments

@wangyarui
Copy link

Hi, friends, I am a postgraduate at school. I am trying to transplant this model file to my android examples, I added the following code in your inference.py to save your ckpt model file
saver=tf.train.Saver() saver.save(sess,'checkpoint/ICNet.ckpt')
Then I adopt the 'CkptToPb.py' written by myself to transform the ckpt model to pb file.
But I need know your output node for your model, and I can not find something obviously about your output node, I need your help .Can you update your 'model.ckpt' to your git ? I really want to check it with mine to find what is wrong.
I am so appreciated your warm heart, thank you very much.
Thanks again sincerely.

@hellochick
Copy link
Owner

Hey, @wangyarui you can call net.layers['conv6_cls'] to get the node. Btw, I have put the model.ckpt on the google drive. Is that helpful for you?

@wangyarui
Copy link
Author

Hey, @hellochick thanks for your response. I downloaded your model.ckpt and transformed it to ICNet.pb. But when I was transforming it to ICNet.pb,when I set the output node con6_cls, the error dedicated that conv6_cls is not existed in this graph. Although I adopted tensorboard and I find the conv6_cls......I really do not know what happed, Now I am reading carefully your train.py code. Thanks again.

@hellochick
Copy link
Owner

Hey, @wangyarui. Sorry for my late reply. Have you solved your problem yet?

@wangyarui
Copy link
Author

@hellochick yes,I have solve my problem,thank you very much.

@pewpewpeww
Copy link

Hi @wangyarui, may I know what is the output node you used in the end? I am also facing the same problem; trying to convert to .pb file and used conv6_cls as output node name but it does not work.

@chegnyanjun
Copy link

Hi, @pewpewpeww, I am also facing the same problem as you.Do you have solved?

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

4 participants