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

fix the data dependent initializaiton. #37

Merged
merged 1 commit into from
Nov 30, 2018
Merged

Conversation

bfs18
Copy link

@bfs18 bfs18 commented Jun 19, 2018

See issue #36
The output of conv2d should be updated after g and b are updated in data dependent initialization.

The loss decreases faster when using the new data dependent initialization on cifar-10 dataset. I only tested the first few epochs for the time being. I will update the running log later.

new initialization:
Iteration 0, time = 3317s, train bits_per_dim = 4.1773, test bits_per_dim = 7.6512
Iteration 1, time = 3275s, train bits_per_dim = 3.7190, test bits_per_dim = 4.4990

original initialization:
Iteration 0, time = 3317s, train bits_per_dim = 4.1814, test bits_per_dim = 11.5115
Iteration 1, time = 3277s, train bits_per_dim = 3.6735, test bits_per_dim = 8.9926
Iteration 2, time = 3277s, train bits_per_dim = 3.5277, test bits_per_dim = 5.1907

@yburda yburda merged commit ac8b1eb into openai:master Nov 30, 2018
pkalluri pushed a commit to pkalluri/pcnn-pp that referenced this pull request Oct 9, 2020
fix the data dependent initialization.
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

Successfully merging this pull request may close these issues.

2 participants