Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikb11 committed Mar 12, 2021
1 parent bce1a2c commit edc48b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/trainer/logging_/test_eval_loop_logging_1_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit edc48b8

Please sign in to comment.