Skip to content

Commit 2166ce2

Browse files
authored
Fix-multiple-loggers-typo (#16305)
1 parent d206ca3 commit 2166ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source-pytorch/visualize/supported_exp_managers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ Access all loggers from any function (except the LightningModule *init*) to use
194194
195195
class MyModule(LightningModule):
196196
def any_lightning_module_function_or_hook(self):
197-
tensorboard_logger = self.logger.experiment[0]
198-
wandb_logger = self.logger.experiment[1]
197+
tensorboard_logger = self.loggers.experiment[0]
198+
wandb_logger = self.loggers.experiment[1]
199199
200200
fake_images = torch.Tensor(32, 3, 28, 28)
201201

0 commit comments

Comments
 (0)