add optimizer to rich printing
This commit is contained in:
1 parent
5f57eb7875
commit
3586f355b9
6 files changed
+56
-48
No files matched your search
@@ -93,7 +93,7 @@ class LitModelMNIST(pl.LightningModule):
|
||||
self.log("test/loss", loss, on_step=False, on_epoch=True)
|
||||
self.log("test/acc", acc, on_step=False, on_epoch=True)
|
||||
|
||||
return {"loss": loss}
|
||||
return loss
|
||||
|
||||
# [OPTIONAL METHOD]
|
||||
def training_epoch_end(self, outputs: List[Any]) -> None:
|
||||
|
||||
Reference in new issue
Block a user