in gym_aloha/env.py [0:0]
def _format_raw_obs(self, raw_obs):
if self.obs_type == "state":
raise NotImplementedError()
elif self.obs_type == "pixels":
obs = {"top": raw_obs["images"]["top"].copy()}
elif self.obs_type == "pixels_agent_pos":
obs = {
"pixels": {"top": raw_obs["images"]["top"].copy()},
"agent_pos": raw_obs["qpos"],
}
return obs