-
Notifications
You must be signed in to change notification settings - Fork 148
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
weight initialization #34
Comments
It's also confused to me too. I recommend you to read https://github.com/SaoYan/DnCNN-PyTorch |
Thank you @anlijuncn I think that they are using the default tf.layers.conv2d initializer which is Xavier but I am not sure about that. |
Yes, in crisb-dut's code he is using default initializer. I don't know whether methods could improve the result. The author ZhangKai has released Pytorch and Keras version code on github/cszn. |
Default kernel initializer for tf.layer.conv2d is "glorot_uniform_initializer". Please refer to code lines '315 - 317' in : https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/variable_scope.py |
Hello :)
Could you please help me with something?...
It is not clear to me in which part of your code you initialize the weights of the CNN.
The text was updated successfully, but these errors were encountered: