Skip to content

Commit

Permalink
Update test_ppo_trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada authored Dec 11, 2023
1 parent bf4da73 commit bf0f705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ppo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def test_loss_trainer(self):
returns[idx].unsqueeze(0),
)

self.assertAlmostEqual(pg_loss.item(), 2.2868, 4)
self.assertAlmostEqual(pg_loss.item(), 2.0494, 4)
self.assertAlmostEqual(v_loss.item(), 0.09950, 4)

# check if we get same results with masked parts removed
Expand Down

0 comments on commit bf0f705

Please sign in to comment.