Difference between Logger.save_dir, Logger.root_dir, and Logger.log_dir #11742
Unanswered
daniellepintz
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 9 replies
-
Hello I will explain from the top of my head and someone will remind me if a detail is wrong :) Example path:
Together:
I tried to standardize the log dir properties a while ago and miserably failed because things break easily and it is a nightmare to have backward compatibility. Can't say whether this situation has improved, but I expect not. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I find these three properties confusing - would appreciate if someone could clarify them for me.
I noticed that
save_dir
is the only one of the three on the Base API.root_dir
andlog_dir
are only present in TensorboardLogger and CSVLoggerhttps://github.com/PyTorchLightning/pytorch-lightning/blob/8c07d8bf905e395bbd2142b5df7b185b8e936c41/pytorch_lightning/loggers/tensorboard.py#L112-L146
https://github.com/PyTorchLightning/pytorch-lightning/blob/8c07d8bf905e395bbd2142b5df7b185b8e936c41/pytorch_lightning/loggers/csv_logs.py#L143-L173
@awaelchli @edward-io @Borda @ananthsub @rohitgr7 @ethanwharris
Beta Was this translation helpful? Give feedback.
All reactions