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 8f0fc4c commit bf4da73
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 @@ -609,7 +609,7 @@ def test_loss_trainer(self):
apply_mask(advantages[idx], mask[idx]).unsqueeze(0),
apply_mask(returns[idx], mask[idx]).unsqueeze(0),
)
self.assertAlmostEqual(pg_loss_unmasked.item(), 2.2868, 4)
self.assertAlmostEqual(pg_loss_unmasked.item(), 2.0494, 4)
self.assertAlmostEqual(v_loss_unmasked.item(), 0.09950, 4)

@parameterized.expand(
Expand Down

0 comments on commit bf4da73

Please sign in to comment.