Closed parthjaggi closed 4 years ago
env = gym.make('MarlGrid-2AgentEmpty9x9-v0') act = env.action_space.sample() obs, rew, done, _ = env.step(act) obs = np.array(obs)
obs.shape gives me (2, 56, 56, 3), while env.observation_shape gives me Tuple(Box(7, 7, 3), Box(7, 7, 3)). Mismatch between the two.
obs.shape
(2, 56, 56, 3)
env.observation_shape
Tuple(Box(7, 7, 3), Box(7, 7, 3))
Just saw this now :) Good catch! Updated with a quick fix.
obs.shape
gives me(2, 56, 56, 3)
, whileenv.observation_shape
gives meTuple(Box(7, 7, 3), Box(7, 7, 3))
. Mismatch between the two.