mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-13 12:50:26 +08:00
unify model test acc (#696)
This commit is contained in:
committed by
William Falcon
parent
deb1581e26
commit
bde549cb36
@@ -114,7 +114,7 @@ def test_running_test_after_fitting(tmpdir):
|
||||
trainer.test()
|
||||
|
||||
# test we have good test accuracy
|
||||
tutils.assert_ok_test_acc(trainer)
|
||||
tutils.assert_ok_model_acc(trainer)
|
||||
|
||||
|
||||
def test_running_test_without_val(tmpdir):
|
||||
@@ -152,7 +152,7 @@ def test_running_test_without_val(tmpdir):
|
||||
trainer.test()
|
||||
|
||||
# test we have good test accuracy
|
||||
tutils.assert_ok_test_acc(trainer)
|
||||
tutils.assert_ok_model_acc(trainer)
|
||||
|
||||
|
||||
def test_single_gpu_batch_parse():
|
||||
|
||||
Reference in New Issue
Block a user