Training an MLP classifier as validation for and within self-supervised training #10133
Unanswered
jonbraunstat
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there all!
I’m training a self-supervised model and would like to probe the quality of the encoder (ability to generalise) with several small classification tasks every couple of epochs. Training of the main net is distributed, I’m happy to run the small validation classifier on a single GPU, whichever is simpler.
Any thoughts or references how best to go about this? Will anything fail or interfere if I wrap this in a
Callback
orvalidation_epoch_end
and either use another Trainer or vanilla PyTorch within the main model training?Cheers and all the best,
Jonas
Beta Was this translation helpful? Give feedback.
All reactions