Skip to content

Commit

Permalink
remove duplicate metric vs step log
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Oct 15, 2020
1 parent e8d8417 commit 7bf9e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/trainer/optimization/test_manual_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def configure_optimizers(self):
num_manual_backward_calls = 3
assert trainer.dev_debugger.count_events('backward_call') == limit_train_batches * num_manual_backward_calls

expected = {'a', 'a_step', 'a_epoch', 'epoch'}
expected = {'a_step', 'a_epoch', 'epoch'}
logged = set(trainer.logged_metrics.keys())
assert expected == logged

Expand Down

0 comments on commit 7bf9e4d

Please sign in to comment.