mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
typing error
it should be val_batch here.
This commit is contained in:
1 parent
3f1e4b953f
commit
1b45ddcd17
1 file changed
+1
-1
@@ -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