Fix docs' TensorBoardLogger instantiation (#13038)

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
This commit is contained in:
wangherr 2022-05-12 11:02:57 +08:00 committed by GitHub
parent 5ab9d53fc1
commit 01df4543f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ To track other artifacts, such as histograms or model topology graphs first sele
from pytorch_lightning import loggers as pl_loggers
tensorboard = pl_loggers.TensorBoardLogger()
tensorboard = pl_loggers.TensorBoardLogger(save_dir="")
trainer = Trainer(logger=tensorboard)
then access the logger's API directly