From 035951210f63b0ccd0d5fe63b4bc264aca2b51e5 Mon Sep 17 00:00:00 2001 From: Davide Tateo Date: Sun, 25 Dec 2022 15:36:38 +0100 Subject: [PATCH] Fixing dqn test --- tests/algorithms/test_dqn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/algorithms/test_dqn.py b/tests/algorithms/test_dqn.py index 8886c1749..8a5d20822 100644 --- a/tests/algorithms/test_dqn.py +++ b/tests/algorithms/test_dqn.py @@ -134,7 +134,7 @@ def test_dqn_logger(tmpdir): loss_file = np.load(logger.path / 'loss_Q.npy') assert loss_file.shape == (90,) - assert loss_file[0] == 0.976540744304657 and loss_file[-1] == 0.6936991810798645 + assert loss_file[0] == 0.9765409231185913 and loss_file[-1] == 0.6936992406845093 def test_prioritized_dqn():