Skip to content

Commit

Permalink
✅ update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nateraw committed Jul 29, 2020
1 parent 73e9b10 commit a870ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/test_datamodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_train_loop_only(tmpdir):
# fit model
result = trainer.fit(model)
assert result == 1
assert trainer.callback_metrics['loss'] < 0.50
assert trainer.callback_metrics['loss'] < 0.6


def test_train_val_loop_only(tmpdir):
Expand All @@ -102,7 +102,7 @@ def test_train_val_loop_only(tmpdir):
# fit model
result = trainer.fit(model)
assert result == 1
assert trainer.callback_metrics['loss'] < 0.65
assert trainer.callback_metrics['loss'] < 0.6


def test_full_loop(tmpdir):
Expand Down

0 comments on commit a870ea7

Please sign in to comment.