instadeepai/Mava

[BUG]Jumanji RWARE reward shape mismatch

Open

#1,110 opened on Oct 24, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (122 forks)auto 404
buggood first issue

Repository metrics

Stars
 (922 stars)
PR merge metrics
 (PR metrics pending)

Description

We found that in the 4ag RWARE task, env.reward_spec().generate_value() gives something of shape (), but the reward that environment outputs is actually of shape (num_agents).

This is curious because I believe the scenario should output a reward of shape ().

Maybe it's a wrapper thing?

Contributor guide