update readme

This commit is contained in:
hobogalaxy committed 2021-01-12 22:13:11 +01:00
1 parent 9a5a4eb192
commit f90ceab605
5 files changed
+200 -135

No files matched your search

@@ -4,7 +4,7 @@ model_checkpoint:
class: pytorch_lightning.callbacks.ModelCheckpoint
args:
monitor: "val_acc" # name of the logged metric which determines when model is improving
save_top_k: 1 # save k best models (determined by above metric)
save_top_k: 2 # save k best models (determined by above metric)
save_last: True # additionaly always save model from last epoch
mode: "max" # can be "max" or "min"
filepath: "checkpoints/{epoch}"
+4 -1
View File
@@ -6,9 +6,12 @@ defaults:
- datamodule: mnist_datamodule.yaml
- optimizer: adam.yaml
- seeds: default_seeds.yaml # set this to null if you don't want to use seeds
- callbacks: default_callbacks.yaml # set this to null if you don't want to use callbacks
- 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`)
- override hydra/job_logging: colorlog
- override hydra/hydra_logging: colorlog
# path to working directory (the directory that `train.py` was executed from in command line)
work_dir: ${hydra:runtime.cwd}
+1 -1
View File
@@ -5,7 +5,7 @@ args:
gpus: -1 # set -1 to train on all GPUs abailable, set 0 to train on CPU only
auto_select_gpus: True
fast_dev_run: True
# fast_dev_run: True # bugged :(
limit_train_batches: 1.0
limit_val_batches: 1.0
limit_test_batches: 1.0