develop more generic version of template, switch to using hydra initializers

This commit is contained in:
hobogalaxy committed 2021-01-19 02:23:13 +01:00
1 parent e93283d890
commit 7fe01e22d3
26 files changed
+329 -512

No files matched your search

+12 -13
View File
@@ -1,17 +1,16 @@
# trainer args for debugging model
args:
gpus: 0 # set -1 to train on all GPUs abailable, set 0 to train on CPU only
# auto_select_gpus: True
gpus: 0 # set -1 to train on all GPUs abailable, set 0 to train on CPU only
# auto_select_gpus: True
gradient_clip_val: 0.5
gradient_clip_val: 0.5
# fast_dev_run: True # bugged :( (probably wee need to wait for lightning patch)
limit_train_batches: 1.0
limit_val_batches: 1.0
limit_test_batches: 1.0
val_check_interval: 1.0
profiler: "simple" # use profiler to print execution time profiling after training ends
# fast_dev_run: True # bugged :( (probably wee need to wait for lightning patch)
limit_train_batches: 1.0
limit_val_batches: 1.0
limit_test_batches: 1.0
val_check_interval: 1.0
profiler: "simple" # use profiler to print execution time profiling after training ends
progress_bar_refresh_rate: 10
weights_summary: "full"
default_root_dir: "lightning_logs/"
progress_bar_refresh_rate: 10
weights_summary: "full"
default_root_dir: "lightning_logs/"
+8 -12
View File
@@ -1,12 +1,8 @@
# default args passed to Lightning Trainer on every experiment
# they can be combined or overwritten with args set in experiment config
args:
gpus: 0 # set -1 to train on all GPUs available, set 0 to train on CPU only
# auto_select_gpus: True
max_epochs: 10
gradient_clip_val: 0.5
num_sanity_val_steps: 3
progress_bar_refresh_rate: 10
weights_summary: null # null in yaml represents python None value
default_root_dir: "lightning_logs/"
_target_: pytorch_lightning.Trainer
gpus: 0 # set -1 to train on all GPUs available, set 0 to train on CPU only
max_epochs: 10
gradient_clip_val: 0.5
num_sanity_val_steps: 3
progress_bar_refresh_rate: 10
weights_summary: null # null in yaml represents python None value
default_root_dir: "lightning_logs/"