mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
clean up docs around loggers (#304)
This commit is contained in:
1 parent
a8ccb88163
commit
a578de511d
7 files changed
+23
-12
No files matched your search
@@ -281,7 +281,7 @@ def validation_step(self, batch, batch_nb):
|
||||
# or generated text... or whatever
|
||||
sample_imgs = x[:6]
|
||||
grid = torchvision.utils.make_grid(sample_imgs)
|
||||
self.experiment.add_image('example_images', grid, 0)
|
||||
self.logger.experiment.add_image('example_images', grid, 0)
|
||||
|
||||
# calculate acc
|
||||
labels_hat = torch.argmax(out, dim=1)
|
||||
|
||||
Reference in new issue
Block a user