Skip to content

MediumScenarioDeep learning in practice

Training loss goes to NaN after a few steps. What do you check?

What a good answer covers

Learning rate too high, bad inputs or log of zero, exploding gradients, mixed-precision overflow. Add gradient clipping, normalise inputs, lower the rate and inspect a batch.

More on Deep learning in practice

Flashcards for this topic