How to log the best validation metrics #20564
FDUguchunhui
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Lightning for hyperparameter tuning, so I would like to have validation metric for each hyperparameter combination. This is easy when I evaluate test dataset with the final model for each hyperparameter combination since I can ignore test metric performance and directly compare their validation metrics. However, when I want to avoid epoches as a hyperparameter and only use save the best model, the logged validation metrics is not synchronized with the model used for testing (the logged validation is at the model after the end of N epoch but model used for testing could be M < N epoches). How could also log this best validation loss into tensorboard or other logger?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions