Logging
Structure of logs/ directory
Logs directory structure.
Your logs will be saved under the following structure:
βββ logs
βββ {{train, eval}} # Task name
β βββ runs # Logs generated by single runs
β β βββ YYYY-MM-DD_HH-MM-SS # Datetime of the run
β β β βββ .hydra # Hydra logs
β β β βββ csv # Csv logs
β β β βββ wandb # Weights&Biases logs
β β β βββ checkpoints # Training checkpoints
β β β βββ ... # Any other thing saved during training
β β βββ ...
β β
β βββ multiruns # Logs generated by multiruns (ie using --multirun)
β βββ YYYY-MM-DD_HH-MM-SS # Datetime of the multirun
β β βββ1 # Multirun job number
β β βββ2
β β βββ ...
β βββ ...
β
βββ debug # Logs generated when debugging config is attached
βββ ...
Setting up your own data/ and logs/ paths
The data/ and logs/ directories will store all your datasets and training
logs. By default, these are placed in the repository directory.
Since this may take some space, or your heavy data may be stored elsewhere, you
may specify other paths for these directories by creating a
configs/local/defaults.yaml file containing the following:
# @package paths
# path to data directory
data_dir: /path/to/your/data/
# path to logging directory
log_dir: /path/to/your/logs/
Logger options
By default, your logs will automatically be uploaded to Weights and Biases, from where you can track and compare your experiments.
Other loggers are available in configs/logger/. See
Lightning-Hydra for more
information.