From 0b1e22ac51a95cfd9133f39cb3075736cfd79b9e Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 26 Jun 2019 17:52:14 -0400 Subject: [PATCH] updated args --- pytorch_lightning/models/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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