Giter Site home page Giter Site logo

Comments (2)

albertz avatar albertz commented on May 25, 2024

I have encountered this problem, when I add more audio corpus in the training and keep the subset=3000. The training loss went 'nan' and it will never converge. But when I enlarge the subset to 10000, the problem disappeared. The small dev subset make the model break.

The dev set has no influence on the training except on learning rate scheduling. But if this happens early (I assume so, you did not tell), then the learning rates are fixed (e.g. warmup), so it has no effect.

I assume this is more a noise effect, due to non-deterministic training in general.

Note that we have a newer, more stable baseline config here. It might occur less or not at all with this.

We also have a newer simpler data preparation pipeline here, although that's maybe not too important.

Which TF version do you use? We observed that some combination of TF + CUDA versions are more unstable than others. In general, I would recommend TF 2.3.

And when I set the subset to a fix number , the toolkit randomly select some audio forming the the dev-set. Then the dev-set will be the same for all epoches during the training ? Is it?

If you have the same random seed for all epochs (via fixed_random_seed), then yes, it's exactly the same subset for all epochs.

from returnn-experiments.

christophmluscher avatar christophmluscher commented on May 25, 2024

This seems resolved.

from returnn-experiments.

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.