How to overfit on a single batch

I am trying to classify certain categories of images.
I read from various places to overfit on a single batch to find the errors.
but I don’t know how to overfit on a single batch?

Hi,

If you run a deep (depends on data) model for many epochs for a small proportion of data, like a batch of data, model will overfit. Overfitting means that model focused too much on that small data that just memorized everything.

Bests

1 Like