Skip to content

Commit

Permalink
fix end-of-life
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 30, 2023
1 parent 06cc740 commit 75625bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dqn/dqn_atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main(cfg: "DictConfig"): # noqa: F821
loss_function="l2",
delay_value=True,
)
loss_module.set_keys(done="eol", terminated="eol")
loss_module.set_keys(done="end-of-life", terminated="end-of-life")
loss_module.make_value_estimator(gamma=cfg.loss.gamma)
target_net_updater = HardUpdate(
loss_module, value_network_update_interval=cfg.loss.hard_update_freq
Expand Down

0 comments on commit 75625bd

Please sign in to comment.