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

Could you explain why mask generated by Sigmoid in mdcn is doubled? #246

Open
JrPeng opened this issue Jan 15, 2019 · 1 comment
Open

Could you explain why mask generated by Sigmoid in mdcn is doubled? #246

JrPeng opened this issue Jan 15, 2019 · 1 comment

Comments

@JrPeng
Copy link

JrPeng commented Jan 15, 2019

In your paper, the mask of each layer is generated by a sigmoid with its value initialized as 0.5. However, the mask is doubled with 1.0 as initial value in this implementation. Could you explain the mismatch between the code and the paper? Or, could you release the results of 1x mask and 2x mask? Thank you.

@zheningy
Copy link

My guess is that the normal mask for every sample point should be 1. However, the sigmoid function is 0.5 in zero. Thus it is required to be doubled to become 1.

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