Is there an argument in trainer.fit() to train with just one batch? I have heard lightning have this solution but I can not find how to use it.
Thank you!
Is there an argument in trainer.fit() to train with just one batch? I have heard lightning have this solution but I can not find how to use it.
Thank you!
Use:
trainer = Trainer(overfit_batches=0.0)
trainer = Trainer(overfit_batches=0.01)
trainer = Trainer(overfit_batches=10)
To overfit to only one batch:
trainer = Trainer(overfit_batches=1)