Skip to content

Commit 21b3d3e

Browse files
rohitgr7awaelchli
andauthored
Apply suggestions from code review
Co-authored-by: Adrian Wälchli <[email protected]>
1 parent c719cbb commit 21b3d3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/common/debugging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ argument of :class:`~pytorch_lightning.trainer.trainer.Trainer`)
7979

8080
.. testcode::
8181

82-
# use only 1% of training data (and turn-off validation)
82+
# use only 1% of training data (and turn off validation)
8383
trainer = Trainer(overfit_batches=0.01)
8484

8585
# similar, but with a fixed 10 batches

docs/source/common/trainer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ overfit_batches
10741074

10751075
|
10761076
1077-
Uses this much data of the training set. If nonzero, will turn-off validation.
1077+
Uses this much data of the training set. If nonzero, will turn off validation.
10781078
If the training dataloaders have `shuffle=True`, Lightning will automatically disable it.
10791079

10801080
Useful for quickly debugging or trying to overfit on purpose.

docs/source/guides/speed.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ If you don't want to check 100% of the training/validation/test set set these fl
336336

337337
If you also pass ``shuffle=True`` to the dataloader, a different random subset of your dataset will be used for each epoch; otherwise the same subset will be used for all epochs.
338338

339-
.. note:: ``limit_train_batches`` will be overwritten by ``overfit_batches`` if ``overfit_batches > 0`` and will turn-off validation.
339+
.. note:: ``limit_train_batches`` will be overwritten by ``overfit_batches`` if ``overfit_batches > 0`` and will turn off validation.
340340

341341
.. note:: If you set ``limit_val_batches=0``, validation will be disabled.
342342

0 commit comments

Comments
 (0)