Enanche trainer debug #177 (#179)

*modifiy `configs/trainer/debug.yaml` to enable some debug options
*remove unused `if config.get("debug"):` in `extras`
*update the documentation
This commit is contained in:
Giuseppe Scriva authored and GitHub committed 2021-09-30 12:47:19 +02:00
1 parent 86f30fb320
commit 675a1ee2e5
3 files changed
+8 -9

No files matched your search

+4 -1
View File
@@ -283,7 +283,7 @@ python run.py +trainer.max_time="00:12:00:00"
```yaml
# run 1 train, val and test loop, using only 1 batch
python run.py trainer.fast_dev_run=true
python run.py +trainer.fast_dev_run=true
# print full weight summary of all PyTorch modules
python run.py trainer.weights_summary="full"
@@ -294,6 +294,9 @@ python run.py +trainer.profiler="simple"
# raise exception, if any of the parameters or the loss are NaN or +/-inf
python run.py +trainer.terminate_on_nan=true
# Quick debug with all the previous options enabled
python run.py trainer=debug
# try overfitting to 1 batch
python run.py +trainer.overfit_batches=1 trainer.max_epochs=20