From 4c556e9880cfdd3004840ba8e1a7c0ecb76fc0d9 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Tue, 25 Jun 2019 20:19:02 -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 50b6d305c8..c1152211e6 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -212,7 +212,7 @@ class Trainer(TrainerIO): pdb.set_trace() # give model a chance to do something with the outputs - val_results = model.validation_end(outputs) + val_results = model.module.validation_end(outputs) # enable train mode again model.train()