This commit is contained in:
hobogalaxy committed 2021-01-10 16:03:00 +01:00
1 parent 0030c94b17
commit 66097c4bf3
11 files changed
+162 -200

No files matched your search

@@ -0,0 +1,5 @@
# @package _group_
defaults:
- default_callbacks.yaml
+15 -8
View File
@@ -9,12 +9,15 @@ defaults:
- callbacks: default_callbacks.yaml # set this to null if you don't want to use callbacks
- logger: null # set logger here or use command line (e.g. `python train.py logger=wandb`)
# path to working directory (the directory that `train.py` was executed from in command line)
work_dir: ${hydra:runtime.cwd}
# path to folder with data
data_dir: ${work_dir}/data/
# hydra output paths
hydra:
run:
@@ -23,13 +26,17 @@ hydra:
dir: logs/multiruns/${now:%Y-%m-%d_%H-%M-%S}
subdir: ${hydra.job.num}
# extra things that are logged by all loggers as hyperparameters, before training starts
extra_logs:
log_train_val_test_sizes: True,
log_trainer_args: False,
log_model_args: True,
log_datamodule_args: True,
log_optimizer_args: True,
log_model_class_name: True,
log_datamodule_class_name: True,
log_optimizer_class_name: True
log_seeds: True
log_trainer_args: False
log_datamodule_args: True
log_model_class: True
log_optimizer_class: True
log_datamodule_class: True
log_train_val_test_sizes: True
log_model_architecture_class_name: True
@@ -4,3 +4,5 @@ class: "pytorch_modules.lightning_datamodules.mnist_datamodule.MNISTDataModule"
args:
batch_size: 64
train_val_test_split: [55_000, 5_000, 10_000]
num_workers: 1
pin_memory: False
+2 -2
View File
@@ -2,10 +2,10 @@
# Weights&Biases logger config
wandb:
class: pytorch_lightning.logger.WandbLogger
class: pytorch_lightning.loggers.wandb.WandbLogger
args:
project: "env_tests"
entity: "lodz" # set to name of your wandb team or just remove
# entity: "team_name" # set to name of your wandb team or just remove it
offline: False # set True to store all logs only locally
job_type: "train"
save_dir: "."
+2 -2
View File
@@ -3,8 +3,8 @@
# default args passed to Lightning Trainer on every experiment
# they can be combined or overwritten with args set in experiment config
args:
gpus: -1 # set -1 to train on all GPUs available, set 0 to train on CPU only
auto_select_gpus: True
# gpus: -1 # set -1 to train on all GPUs available, set 0 to train on CPU only
# auto_select_gpus: True
num_sanity_val_steps: 3
progress_bar_refresh_rate: 10
weights_summary: null # null in yaml represents python None value