question: Model with best validation accuracy
context: 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.
answer: by on validation you mean while calling trainer.validate or validation happening within trainer.fit call?