change order of 1 line in readme (this feels important)

This commit is contained in:
hobogalaxy committed 2020-11-05 03:28:15 +01:00
1 parent 303ea1dfda
commit 5fc4414791
1 file changed
+1 -1
+1 -1
View File
@@ -24,6 +24,7 @@ https://pytorch.org/get-started/locally/
https://pytorch-lightning.readthedocs.io/en/latest/bolts.html https://pytorch-lightning.readthedocs.io/en/latest/bolts.html
- Useful pl.Trainer() parameters: - Useful pl.Trainer() parameters:
- <b>accumulate_grad_batches=5</b> - perform optimisation after accumulating gradient from 5 batches
- <b>accumulate_grad_batches={5: 3, 10: 20}</b> - no accumulation for epochs 1-4. accumulate 3 for epochs 5-10. accumulate 20 after that - <b>accumulate_grad_batches={5: 3, 10: 20}</b> - no accumulation for epochs 1-4. accumulate 3 for epochs 5-10. accumulate 20 after that
- <b>auto_scale_batch_size='power'</b> - automatically find the largest batch size that fits into memory and is power of 2 (requires calling trainer.tune(model, datamodule)) - <b>auto_scale_batch_size='power'</b> - automatically find the largest batch size that fits into memory and is power of 2 (requires calling trainer.tune(model, datamodule))
- <b>check_val_every_n_epoch=10</b> - run validation loop every 10 training epochs - <b>check_val_every_n_epoch=10</b> - run validation loop every 10 training epochs
@@ -39,6 +40,5 @@ https://pytorch-lightning.readthedocs.io/en/latest/bolts.html
- <b>gradient_clip_val=0.5</b> - gradient clipping value (0 means don’t clip), helps with exploding gradient issues - <b>gradient_clip_val=0.5</b> - gradient clipping value (0 means don’t clip), helps with exploding gradient issues
- <b>profiler=SimpleProfiler()</b> - print execution time info for each method used - <b>profiler=SimpleProfiler()</b> - print execution time info for each method used
- <b>weights_summary='full'</b> - print model info - <b>weights_summary='full'</b> - print model info
- <b>accumulate_grad_batches=5</b> - perform optimisation after accumulating gradient from 5 batches
- <b>amp_backend='apex'</b> - apex backend for mixed precision training https://github.com/NVIDIA/apex - <b>amp_backend='apex'</b> - apex backend for mixed precision training https://github.com/NVIDIA/apex