Early stopping in fastai library

(Irshad Muhammad) #1

How to use early stopping in fastai.
Found a relevant thread Wiki: Fastai Library Feature Requests but it doesn’t mention how can we use early stopping.

Adding @jeremy @rachel may be they know the answer?

(Jeremy Howard (Admin)) #2

It’s not implemented yet - but you could do so easily enough with the callback mechanism in fastai.

(Odin) #3

Would be handy for the lesson 1 (and probably later, though at that point doing it yourself via callback is probably cool, but that’s how far I am). My “own” model got crazily overfitted quite soon with so few images.