Files
dreamerv3-torch/models.py
Unai Ruiz a8456e95bc Fix missing advantage computation when reward_EMA is disabled
This PR fixes an issue where reward_EMA=False caused adv to be undefined in _compute_actor_loss.

Previously, adv was only computed inside the reward_EMA branch, which resulted in a runtime error when the option was disabled.
2026-03-03 16:34:52 +01:00

17 KiB