mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-15 00:29:52 +00:00
10 lines
246 B
Python
10 lines
246 B
Python
from lerobot.envs.factory import make_env, make_env_config
|
|
config = make_env_config("libero", task="libero_spatial")
|
|
envs_dict = make_env(config)
|
|
env = envs_dict["libero_spatial"][0]
|
|
|
|
seed = 42
|
|
|
|
# First rollout
|
|
obs1, info1 = env.reset(seed=seed)
|