WIP
This commit is contained in:
@@ -28,11 +28,11 @@ def make_env(cfg: DictConfig, n_envs: int | None = None) -> gym.vector.VectorEnv
|
|||||||
raise ValueError("`n_envs must be at least 1")
|
raise ValueError("`n_envs must be at least 1")
|
||||||
|
|
||||||
kwargs = {
|
kwargs = {
|
||||||
"obs_type": "pixels_agent_pos",
|
# "obs_type": "pixels_agent_pos",
|
||||||
"render_mode": "rgb_array",
|
# "render_mode": "rgb_array",
|
||||||
"max_episode_steps": cfg.env.episode_length,
|
"max_episode_steps": cfg.env.episode_length,
|
||||||
"visualization_width": 384,
|
# "visualization_width": 384,
|
||||||
"visualization_height": 384,
|
# "visualization_height": 384,
|
||||||
}
|
}
|
||||||
|
|
||||||
package_name = f"gym_{cfg.env.name}"
|
package_name = f"gym_{cfg.env.name}"
|
||||||
|
|||||||
14
lerobot/configs/env/dora.yaml
vendored
Normal file
14
lerobot/configs/env/dora.yaml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# @package _global_
|
||||||
|
|
||||||
|
fps: 30
|
||||||
|
|
||||||
|
env:
|
||||||
|
name: dora
|
||||||
|
task: DoraAloha-v0
|
||||||
|
# from_pixels: True
|
||||||
|
# pixels_only: False
|
||||||
|
# image_size: [3, 480, 640]
|
||||||
|
episode_length: 400
|
||||||
|
# fps: ${fps}
|
||||||
|
# state_dim: 14
|
||||||
|
# action_dim: 14
|
||||||
Reference in New Issue
Block a user