mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
typing error
it should be val_batch here.
This commit is contained in:
@@ -539,7 +539,7 @@ class LightningModule(ABC, GradInformation, ModelIO, ModelHooks):
|
||||
# the pseudocode for these calls
|
||||
val_outs = []
|
||||
for val_batch in val_data:
|
||||
out = validation_step(train_batch)
|
||||
out = validation_step(val_batch)
|
||||
val_outs.append(out)
|
||||
validation_epoch_end(val_outs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user