Giter Club home page Giter Club logo

Comments (6)

JianyuanZhong avatar JianyuanZhong commented on May 9, 2024 1

I think allowing initializations of CNNs in CRDNN. Since the rectified activation units at the CNN blocks produce unbounded outputs, bad initializations could lead to very large or very small variance on its output distribution. This could be problematic when one is building a very deep network...

from speechbrain.

mravanelli avatar mravanelli commented on May 9, 2024

We can do it. Actually, according to my experience initialization doesn't play a crucial role. For instance, in the current RNN class we already added orthogonal init for recurrent connections and the performance was the same. What really makes a big difference is batch normalization and recurrent droput (which cannot be added properly to the cudnn models). Feel free to ask for a pull request that changes the RNN class if there is evidence of some performance improvements...

from speechbrain.

TParcollet avatar TParcollet commented on May 9, 2024

It's not much a matter of performance but a matter of trainability. A wrong initialisation scheme might just makes the convergence impossible, especially with a larger number of neutrons. Indeed, because of the summation, you'll end up in the dead spot of the TANH function, and then ... well you won't converge. @jjery2243542 seems to have this problem with 2048 neutrons per LSTM layer.

from speechbrain.

mravanelli avatar mravanelli commented on May 9, 2024

from speechbrain.

jjery2243542 avatar jjery2243542 commented on May 9, 2024

But if using batch norm it will not be the case I think. We can still do it.

from speechbrain.

jjery2243542 avatar jjery2243542 commented on May 9, 2024

I did rnn initialization in #110

from speechbrain.

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.