Unanswered
Hi, Folks !!
I Have Two Questions On Pytorch Lightning Example In Particular Logging.
The Comment Says “Connecting Clearml With The Current Process, From Here On Everything Is Logged Automatically.”
Q1: Does This Comment Mean That
EcstaticBaldeagle77 , Can you share an example of:
self.log("key_name", value) that you save? (not 100% sure what self is 🙂 )
What the automagic integration provide is that you have all the parameters of your pl trainer automatically fetched and populated, as well as when you call this function:def validation_step(self, batch, batch_idx): x, y = batch y_hat = self(x) loss = F.cross_entropy(y_hat, y) self.log('valid_loss', loss)
The call to "self.log()" is fetched and reported as a metric (with the name "valid_loss")
170 Views
0
Answers
2 years ago
one year ago