Fixes in evaluation_basic.rst (#18843)
This commit is contained in:
parent
4d030c4872
commit
af44205541
|
@ -124,7 +124,8 @@ To run the validation loop, pass in the validation set to **.fit**
|
|||
|
||||
train_loader = DataLoader(train_set)
|
||||
valid_loader = DataLoader(valid_set)
|
||||
model = LitAutoEncoder(...)
|
||||
|
||||
# train with both splits
|
||||
trainer = Trainer()
|
||||
trainer = pl.Trainer()
|
||||
trainer.fit(model, train_loader, valid_loader)
|
||||
|
|
Loading…
Reference in New Issue