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:
1 parent
0feda07965
commit
7a33c0bdad
4 files changed
+4
-7
No files matched your search
@@ -304,9 +304,6 @@ python run.py +trainer.fast_dev_run=true
|
|||||||
# raise exception if there are any numerical anomalies in tensors, like NaN or +/-inf
|
# raise exception if there are any numerical anomalies in tensors, like NaN or +/-inf
|
||||||
python run.py +trainer.detect_anomaly=true
|
python run.py +trainer.detect_anomaly=true
|
||||||
|
|
||||||
# print full weight summary of all PyTorch modules
|
|
||||||
python run.py trainer.weights_summary="full"
|
|
||||||
|
|
||||||
# print execution time profiling after training ends
|
# print execution time profiling after training ends
|
||||||
python run.py +trainer.profiler="simple"
|
python run.py +trainer.profiler="simple"
|
||||||
|
|
||||||
|
|||||||
@@ -16,5 +16,9 @@ early_stopping:
|
|||||||
patience: 100 # how many validation epochs of not improving until training stops
|
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
|
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:
|
rich_progress_bar:
|
||||||
_target_: pytorch_lightning.callbacks.RichProgressBar
|
_target_: pytorch_lightning.callbacks.RichProgressBar
|
||||||
@@ -7,8 +7,6 @@ min_epochs: 1
|
|||||||
max_epochs: 2
|
max_epochs: 2
|
||||||
|
|
||||||
# prints
|
# prints
|
||||||
progress_bar_refresh_rate: null
|
|
||||||
weights_summary: "full"
|
|
||||||
profiler: null
|
profiler: null
|
||||||
|
|
||||||
# debugs
|
# debugs
|
||||||
|
|||||||
@@ -5,9 +5,7 @@ gpus: 0
|
|||||||
min_epochs: 1
|
min_epochs: 1
|
||||||
max_epochs: 10
|
max_epochs: 10
|
||||||
|
|
||||||
progress_bar_refresh_rate: 5
|
|
||||||
resume_from_checkpoint: null
|
resume_from_checkpoint: null
|
||||||
weights_summary: "full"
|
|
||||||
|
|
||||||
# number of validation steps to execute at the beginning of the training
|
# number of validation steps to execute at the beginning of the training
|
||||||
num_sanity_val_steps: 0
|
num_sanity_val_steps: 0
|
||||||
Reference in new issue
Block a user