Start simple: overfit a tiny subset (a few batches). If the model cannot memorize it, there is a bug in the model, loss, or data pipeline.
Check data and labels: correct shuffling, label alignment, normalization, augmentation applied only to training data.
Check the code: loss and activation choice, output shapes, gradients flowing to all layers (not all zeros), train versus eval mode, frozen layers by mistake.
Tune the learning rate (the most common culprit), then watch the gradient norm histograms and weight update ratios.
Change one thing at a time, fix random seeds, and compare against a known-good baseline.
Loading…