We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
estimated_stepping_batches
1 parent 785f15d commit 351bec7Copy full SHA for 351bec7
src/lightning/pytorch/trainer/trainer.py
@@ -1654,8 +1654,8 @@ def _results(self) -> Optional[_ResultCollection]:
1654
def estimated_stepping_batches(self) -> Union[int, float]:
1655
r"""The estimated number of batches that will ``optimizer.step()`` during training.
1656
1657
- This accounts for gradient accumulation and the current trainer configuration. This might sets up your training
1658
- dataloader if hadn't been set up already.
+ This accounts for gradient accumulation and the current trainer configuration. This might be used when setting
+ up your training dataloader, if it hasn't been set up already.
1659
1660
.. code-block:: python
1661
0 commit comments