Giter Site home page Giter Site logo

Comments (10)

yanghongjiazheng avatar yanghongjiazheng commented on May 24, 2024

It happens on pretrain epoch 38 step 3379

from returnn-experiments.

Spotlight0xff avatar Spotlight0xff commented on May 24, 2024

Hi,
what config are you using? this one?
Also what TF/CUDA/CUDNN versions do you have?

from returnn-experiments.

albertz avatar albertz commented on May 24, 2024

What TF version do you use? Can you try with TF 2.3? (Maybe related)

Note that the learning rate warmup is only for the first 10 epochs (or 15 epochs after my later change). Warmup is not the same as pretrain. Check learning_rates in your config, which defines the warmup. Do you already have it for 15 epochs? You might try to increase it even more. Or also use a newer config, like the one linked by @Spotlight0xff .

from returnn-experiments.

yanghongjiazheng avatar yanghongjiazheng commented on May 24, 2024

what config are you using? this one?

I use this one

Also what TF/CUDA/CUDNN versions do you have?

TF version is 1.8
CUDA version is 0.9.0

from returnn-experiments.

yanghongjiazheng avatar yanghongjiazheng commented on May 24, 2024

warmup step in my config is still 10.

from returnn-experiments.

yanghongjiazheng avatar yanghongjiazheng commented on May 24, 2024

So the nan problem is due to the heavy training datas?

from returnn-experiments.

yanghongjiazheng avatar yanghongjiazheng commented on May 24, 2024

I encountered this problem after adding 3000h training datas. When I used the same configuration training on 2000h corpus, the nan problem did not happen.

from returnn-experiments.

albertz avatar albertz commented on May 24, 2024

I would recommend to use some of our newer configs, and increase the learning rate warmup.

from returnn-experiments.

Spotlight0xff avatar Spotlight0xff commented on May 24, 2024

Also you should update your TF and CUDA.

from returnn-experiments.

christophmluscher avatar christophmluscher commented on May 24, 2024

This issue seems outdated. I will close. If necessary feel free to reopen.

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.