Remove deprecated trainer arguments (#223)

* Remove deprecated trainer arguments: `weight summary` and `progress_bar_refresh_rate`
* Remove deprecated example from README
* Add RichModelSummary to the callbacks
This commit is contained in:
charles authored and GitHub committed 2021-12-15 01:40:18 +01:00
1 parent 0feda07965
commit 7a33c0bdad
4 files changed
+4 -7

No files matched your search

+4
View File
@@ -16,5 +16,9 @@ early_stopping:
patience: 100 # how many validation epochs of not improving until training stops
min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement
model_summary:
_target_: pytorch_lightning.callbacks.RichModelSummary
max_depth: 1
rich_progress_bar:
_target_: pytorch_lightning.callbacks.RichProgressBar
-2
View File
@@ -7,8 +7,6 @@ min_epochs: 1
max_epochs: 2
# prints
progress_bar_refresh_rate: null
weights_summary: "full"
profiler: null
# debugs
-2
View File
@@ -5,9 +5,7 @@ gpus: 0
min_epochs: 1
max_epochs: 10
progress_bar_refresh_rate: 5
resume_from_checkpoint: null
weights_summary: "full"
# number of validation steps to execute at the beginning of the training
num_sanity_val_steps: 0