Dev (#93)
* rework lightning model for mnist * sort imports * add comment to pre-commit-config * remove returns from test_step because it's bugged * update experiment configs * Update README.md
This commit is contained in:
1 parent
67d531ab67
commit
b1e0bf9717
23 files changed
+480
-320
No files matched your search
@@ -1,11 +1,43 @@
|
||||
_target_: pytorch_lightning.Trainer
|
||||
gpus: 0 # set -1 to train on all GPUs available, set 0 to train on CPU only
|
||||
|
||||
# set -1 to train on all GPUs available
|
||||
# set 0 to train on CPU only
|
||||
gpus: 0
|
||||
|
||||
min_epochs: 1
|
||||
max_epochs: 10
|
||||
gradient_clip_val: 0.5
|
||||
num_sanity_val_steps: 2
|
||||
progress_bar_refresh_rate: 10
|
||||
weights_summary: null
|
||||
default_root_dir: "lightning_logs/"
|
||||
fast_dev_run: False
|
||||
|
||||
|
||||
# all of the parameters below are set to Lightning defaults
|
||||
|
||||
resume_from_checkpoint: null
|
||||
|
||||
# tricks
|
||||
gradient_clip_val: 0
|
||||
accumulate_grad_batches: 1
|
||||
val_check_interval: 1.0
|
||||
check_val_every_n_epoch: 1
|
||||
stochastic_weight_avg: False
|
||||
|
||||
# debug
|
||||
num_sanity_val_steps: 2
|
||||
fast_dev_run: False
|
||||
overfit_batches: 0
|
||||
limit_train_batches: 1.0
|
||||
limit_val_batches: 1.0
|
||||
limit_test_batches: 1.0
|
||||
track_grad_norm: -1
|
||||
|
||||
# prints
|
||||
progress_bar_refresh_rate: null
|
||||
weights_summary: null
|
||||
profiler: null
|
||||
|
||||
# others
|
||||
amp_backend: "native"
|
||||
amp_level: "02"
|
||||
precision: 32
|
||||
accelerator: null
|
||||
num_nodes: 1
|
||||
tpu_cores: null
|
||||
deterministic: False
|
||||
Reference in new issue
Block a user