Model with best validation accuracy
Is there a way to save the model with the best validation accuracy when using early stopping? I believe right now, the model weights are the weights from the latest snapshot; but i am looking for a way to access the model with the best performance on validation.
by on validation you mean while calling trainer.validate or validation happening within trainer.fit call?