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

Random connections in MADE perform better than deterministic masks #12

Open
jaanli opened this issue Sep 23, 2019 · 0 comments
Open

Random connections in MADE perform better than deterministic masks #12

jaanli opened this issue Sep 23, 2019 · 0 comments

Comments

@jaanli
Copy link

jaanli commented Sep 23, 2019

I found that constructing masks using the original MADE paper https://arxiv.org/abs/1502.03509 (nodes are randomly assigned ids) works better than assigning an id deterministically as in

in_degrees = torch.arange(in_features) % in_flow_features

(The reason for this is likely simple, that if the output size is not an exact multiple of the number of hidden units, some input features will be assigned more hidden nodes than others)

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

1 participant