From edc48b86cb681201f879c555d56f4cf2f95a283b Mon Sep 17 00:00:00 2001 From: Kaushik Bokka Date: Thu, 11 Mar 2021 22:38:56 +0530 Subject: [PATCH] fix tests --- tests/trainer/logging_/test_eval_loop_logging_1_0.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/trainer/logging_/test_eval_loop_logging_1_0.py b/tests/trainer/logging_/test_eval_loop_logging_1_0.py index 72084454ba10d..e5cf596a78eca 100644 --- a/tests/trainer/logging_/test_eval_loop_logging_1_0.py +++ b/tests/trainer/logging_/test_eval_loop_logging_1_0.py @@ -126,7 +126,6 @@ def validation_step_end(self, acc): def validation_epoch_end(self, outputs): self.log('g', torch.tensor(2, device=self.device), on_epoch=True) self.validation_epoch_end_called = True - assert len(self.trainer.evaluation_loop.outputs) == 0 def backward(self, loss, optimizer, optimizer_idx): return LightningModule.backward(self, loss, optimizer, optimizer_idx)