This commit is contained in:
Jade Choghari
2025-11-18 15:26:12 +01:00
parent 9979b62c52
commit 6c9f169996
3 changed files with 2 additions and 9 deletions
-7
View File
@@ -1,7 +0,0 @@
lerobot-eval \
--policy.path="/home/jade_choghari/.cache/models/pi05" \
--env.type=libero \
--env.task=libero_spatial \
--eval.batch_size=1 \
--eval.n_episodes=1 \
--policy.n_action_steps=10 \
+1 -1
View File
@@ -219,7 +219,7 @@ class LiberoEnv(gym.Env):
def render(self):
raw_obs = self._env.env._get_observations()
image = self._format_raw_obs(raw_obs)["pixels"]["image"]
image = image[::-1, ::-1] # flip both H and W for visualization
image = image[::-1, ::-1] # flip both H and W for visualization
return image
def _make_envs_task(self, task_suite: Any, task_id: int = 0):
+1 -1
View File
@@ -764,4 +764,4 @@ def main():
if __name__ == "__main__":
main()
main()