typing error

it should be val_batch here.
This commit is contained in:
Caldera
2020-04-14 00:16:54 +08:00
committed by GitHub
parent 3f1e4b953f
commit 1b45ddcd17
+1 -1
View File
@@ -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)