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

Network architecture different between paper and code #13

Open
weiguochow opened this issue Aug 10, 2018 · 3 comments
Open

Network architecture different between paper and code #13

weiguochow opened this issue Aug 10, 2018 · 3 comments

Comments

@weiguochow
Copy link

weiguochow commented Aug 10, 2018

Hi, thank you very much for sharing your code. I am little confused that about the network depicted in the paper and code.

                um_in = tf.concat([hg_outs, hm_out, hm3_out], axis=-1)
                um_in = _residual(_residual(um_in, 256))

                um_in_mask = tf.concat([hg_outs, hm_out, hm3_out], axis=-1)
                mask = tf.tile(tf.less(tiny_dm, -0.9), (1,1,1,um_in_mask.get_shape()[-1].value))
                um_in_mask = tf.where(mask, tf.zeros_like(um_in_mask), um_in_mask)
                um_in_mask = _residual(_residual(um_in_mask, 256))

There is two consecutive residual model flowing um_in and um_in_mask, respectively. However, I cannot find in the figure 1 of the paper.

Thank you!

@melonwan
Copy link
Owner

Hey.
Thank you for your interest. Yes, the mask trick, together with we are also treating coordinate as input feature feed them to the network, are not mentioned in the paper due to the limitation of paper length.

@weiguochow
Copy link
Author

Thank you for your response. I still have a question, that is, the image is cropped according to the root joint of the hand during training process. But for testing process, the root joint can not be obtained before fed to the network. Although we can use center of mass instead, but I find it will loss some accuracy.
Thank you vary much!!!

@melonwan
Copy link
Owner

for nyu dataset, we've trained another independent network for bounding box regression, but it is not part of the current project.

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