-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm getting error:
Traceback (most recent call last):
demos = demo_store.get_demos(metadata, amount=1, frequency=control_frequency)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sdas/miniconda3/envs/neura/lib/python3.11/site-packages/demonstrations/demo_store.py", line 134, in get_demos
raise DemoNotFoundError(metadata)
demonstrations.demo_store.DemoNotFoundError: Demo not found for Metadata(observation_mode=<ObservationMode.Pixel: 'pixel'>, environment_data=EnvData(env_name='DrawerTopClose', action_mode_name='JointPositionActionMode', floating_base=True, observation_config=ObservationConfig(cameras=[CameraConfig(name='head', rgb=True, depth=False, resolution=(84, 84), pos=None, quat=None), CameraConfig(name='left_wrist', rgb=True, depth=False, resolution=(84, 84), pos=None, quat=None), CameraConfig(name='right_wrist', rgb=True, depth=False, resolution=(84, 84), pos=None, quat=None)], proprioception=True, privileged_information=False), action_mode_absolute=True, floating_dofs=['pelvis_x', 'pelvis_y', 'pelvis_rz'], reset_positions=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], robot_name='H1'), seed=None, package_versions={'mujoco': '3.1.5', 'bigym': '4.1.0'}, date='2025-12-05_10-53-56', uuid='8f146ebbcfe9492ba4bf4cd5ba1be5a8').
running the example script:
control_frequency = 20
env = DrawerTopClose(
action_mode=JointPositionActionMode(floating_base=True, absolute=True),
control_frequency=control_frequency,
observation_config=ObservationConfig(
cameras=[
CameraConfig("head", resolution=(84, 84)),
CameraConfig("left_wrist", resolution=(84, 84)),
CameraConfig("right_wrist", resolution=(84, 84)),
]
),
render_mode="human",
)
metadata = Metadata.from_env(env)
# Get demonstrations from DemoStore
demo_store = DemoStore()
demos = demo_store.get_demos(metadata, amount=1, frequency=control_frequency)
# Replay first demonstration
player = DemoPlayer()
player.replay_in_env(demos[0], env, demo_frequency=control_frequency)
It works when I use Reach Target, Move 2 Plates and Reach Target (others not exhaustively tested). But fails to find demos when trying anything like dishwasher close or drawer open.
Metadata
Metadata
Assignees
Labels
No labels