[RESOLVED] How Many Epochs Should One Train For?

Hi,

Just wondering if there is a typical amount of epochs one should train for.

I am training a few CNNs (Resnet18, Resnet50, InceptionV4, etc) for image classification and was not sure what is the usual amount of epochs. 50 epochs? 100 epochs? Does it perhaps depend on the training set size?

Thanks

It depends on learning rate, net architecture, optimization strategy…
But usually you should focus on the loss. When you’ve tried your best but still can’t make the loss decrease, it may be enough.

1 Like

Great, thank you for the feedback.