mediumStudy question · answer published in PyTorch interview questions, so no pointsdeep-learningtrainingdebugging
Loss jumps at each epoch start
Training loss jumps sharply at the start of each epoch, then falls again. The DataLoader has shuffle=False and the data is sorted by class. What is happening?
Discussion 0
Join free to post in the discussion.
Related questions
- When early stopping triggersMachine Learning Engineer
- Optimizer steps in one epochMachine Learning Engineer
- Expected starting loss, 10 classesMachine Learning Engineer
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer