pytorch-lightning
pytorch-lightning copied to clipboard
How set number of epochs
How do I set the number of epochs to train?
What have you tried?
Looking for documentation. Looking for examples.
https://pytorch-lightning.readthedocs.io/en/latest/Trainer/Training%20Loop/#force-training-for-min-or-max-epochs
Up-to-date link: https://pytorch-lightning.readthedocs.io/en/latest/pytorch_lightning.trainer.training_loop.html#force-training-for-min-or-max-epochs
Up-to-date link : https://pytorch-lightning.readthedocs.io/en/latest/trainer.html#max-epochs