Skip to content

Commit 9759491

Browse files
authored
Clarify limit_{train,val,test}_batches behaviour (Lightning-AI#2630)
1 parent 4bf1c3c commit 9759491

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/fast_training.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ If you don't want to check 100% of the training/validation/test set (for debuggi
7474
limit_test_batches=0.3
7575
)
7676

77+
If you also pass ``shuffle=True``, a different random subset of your dataset will be used for each epoch; otherwise the same subset will be used for all epochs.
78+
7779
.. note:: ``limit_train_batches``, ``limit_val_batches`` and ``limit_test_batches`` will be overwritten by ``overfit_batches`` if ``overfit_batches`` > 0. ``limit_val_batches`` will be ignored if ``fast_dev_run=True``.
7880

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

0 commit comments

Comments
 (0)