Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <[email protected]>
  • Loading branch information
matteobettini committed Oct 3, 2023
1 parent 221e457 commit d2f5c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/sphinx-tutorials/multiagent_ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@
collector.update_policy_weights_()

# Logging
done = tensordict_data.get(("next", "done"))
done = tensordict_data.get(("next", "agents", "done"))
episode_reward_mean = (
tensordict_data.get(("next", "agents", "episode_reward"))[done].mean().item()
)
Expand Down

0 comments on commit d2f5c2c

Please sign in to comment.