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

About the input dimension of fc1 of decoder #1

Closed
zijundeng opened this issue Nov 15, 2017 · 3 comments
Closed

About the input dimension of fc1 of decoder #1

zijundeng opened this issue Nov 15, 2017 · 3 comments

Comments

@zijundeng
Copy link

zijundeng commented Nov 15, 2017

Hello, thanks for your code, which helps me strengthen the understanding of the capsnet. I have a question as follows.

For all the capsules, it seems better to share fc1 parameters of decoder (so the input dimension is 16 instead of 10 * 16). And this repo uses input dimension of 16. What is your consideration?

@laubonghaudoi
Copy link
Owner

laubonghaudoi commented Nov 16, 2017

Thanks for your correction. According to section 4.1 in the paper, which says The output of the digit
capsule is fed into a decoder
, we can infer that only the output of one capsule, rather than outputs of all 16 capsules, is sent to the decoder. I doubt if there is any difference in the final outcome between these two implementations (since all other outputs are zeros). I'm working on it and might push an update later, sorry for the mistake.

@zijundeng
Copy link
Author

客气了哈哈

@laubonghaudoi
Copy link
Owner

Fixed in #3.

laubonghaudoi pushed a commit that referenced this issue Dec 5, 2018
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