We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b22a65e commit cecad9fCopy full SHA for cecad9f
docs/source/debugging.rst
@@ -66,8 +66,8 @@ argument of :class:`~pytorch_lightning.trainer.trainer.Trainer`)
66
# use only 1% of training data (and use the same training dataloader (with shuffle off) in val and test)
67
trainer = Trainer(overfit_batches=0.01)
68
69
- # or overfit a number of batches
70
- trainer = Trainer(overfit_batches=0.01)
+ # similar, but with a fixed 10 batches no matter the size of the dataset
+ trainer = Trainer(overfit_batches=10)
71
72
With this flag, the train, val, and test sets will all be the same train set. We will also replace the sampler
73
in the training set to turn off shuffle for you.
0 commit comments