diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index 1d22eb3d..08736a62 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -394,7 +394,7 @@ class Trainer(TrainerIO): # forward pass # return a scalar value and a dic with tqdm metrics - output = self.model(data_batch, batch_nb, False) + output = self.model(data_batch, batch_nb) # when DP, we need to aggregate the scalars we received as outputs # use mean as the reduce function