Skip to content

Commit 1ca134c

Browse files
author
Vincent Moens
committed
[BugFix] Fix MARL PPO tutorial action_spec call
ghstack-source-id: 1d9058c Pull Request resolved: #2628
1 parent aed03fd commit 1ca134c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/sphinx-tutorials/multiagent_ppo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@
450450
out_keys=[env.action_key],
451451
distribution_class=TanhNormal,
452452
distribution_kwargs={
453-
"low": env.action_spec_unbatched[env.action_key].space.low,
454-
"high": env.action_spec_unbatched[env.action_key].space.high,
453+
"low": env.full_action_spec_unbatched[env.action_key].space.low,
454+
"high": env.full_action_spec_unbatched[env.action_key].space.high,
455455
},
456456
return_log_prob=True,
457457
log_prob_key=("agents", "sample_log_prob"),

0 commit comments

Comments
 (0)