Giter Site home page Giter Site logo

weight initialization about dncnn-tensorflow HOT 4 OPEN

wbhu avatar wbhu commented on July 3, 2024
weight initialization

from dncnn-tensorflow.

Comments (4)

anlijuncn avatar anlijuncn commented on July 3, 2024 2

It's also confused to me too. I recommend you to read https://github.com/SaoYan/DnCNN-PyTorch
I don't know if we need some skills to initialize these weights with BN layers. If you have reached to the final result in paper. Please SHARE on you github!! I am now working on it, but only could get PSNR 29.14 for DnCNN-S. :)

from dncnn-tensorflow.

evagian avatar evagian commented on July 3, 2024

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.

from dncnn-tensorflow.

anlijuncn avatar anlijuncn commented on July 3, 2024

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.

from dncnn-tensorflow.

eastchun avatar eastchun commented on July 3, 2024

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

from dncnn-tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.