* fix code formatting

* add module init logging

* general improvements
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-06 19:43:48 +01:00
1 parent caa566dfd8
commit b45d3b31ec
13 files changed
+226 -162

No files matched your search

+4 -4
View File
@@ -3,7 +3,7 @@
_target_: pytorch_lightning.Trainer
# set -1 to train on all GPUs available, set 0 to train on CPU only
gpus: 0
gpus: 0
# auto_select_gpus: True
min_epochs: 3
@@ -13,7 +13,7 @@ max_epochs: 3
# overfit_batches: 10
# overfit on 5% of the training data
# overfit_batches: 0.05
# overfit_batches: 0.05
# run validation loop every 5 training epochs
# check_val_every_n_epoch: 5
@@ -25,7 +25,7 @@ val_check_interval: 0.5
# val_check_interval: 100
# run for 1 train, 1 val and 1 test batch
# fast_dev_run: True
fast_dev_run: False
# use only 20% of the data
limit_train_batches: 0.2
@@ -51,7 +51,7 @@ accumulate_grad_batches: 5
# no accumulation for epochs 1-4. accumulate 3 for epochs 5-10. accumulate 20 after that
# accumulate_grad_batches: {5: 3, 10: 20}
# automatically find the largest batch size that fits into memory and is power of 2
# automatically find the largest batch size that fits into memory and is power of 2
# (requires calling trainer.tune(model=model, datamodule=datamodule))
# auto_scale_batch_size:'power'