Skip to content

Commit 2ec8d61

Browse files
authored
Update new-project.rst (Lightning-AI#1655)
fix a typo
1 parent f9c9e39 commit 2ec8d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/new-project.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ To also add a validation loop add the following functions
100100
def validation_epoch_end(self, outputs):
101101
avg_loss = torch.stack([x['val_loss'] for x in outputs]).mean()
102102
tensorboard_logs = {'val_loss': avg_loss}
103-
return {'val_loss': avg_loss, 'log': tensorboard_logs
103+
return {'val_loss': avg_loss, 'log': tensorboard_logs}
104104
105105
def val_dataloader(self):
106106
# TODO: do a real train/val split

0 commit comments

Comments
 (0)