Skip to content

Reproduce saved demo in simulator again #279

Open

Description

@alesspalma

Hello, thanks for your work. Is there the possibility to exactly resimulate in the simulator a given demo generated with the default rlbench/dataset_generator.py? How to do it?

Activity

  1. changed the title [-]Reproduce saved demo[/-] [+]Reproduce saved demo in simulator again[/+] on Jun 26, 2025
  2. iamstupidd commented on Jul 2, 2025

    @iamstupidd

    You can set live_demos=False, and set task_env dataset_root as well, I reproduce one successful just now

  3. alesspalma commented on Jul 2, 2025

    @alesspalma
    Author

    @iamstupidd can you share the code?

  4. iamstupidd commented on Jul 2, 2025

    @iamstupidd

    Simple code is,
    task_env._dataset_root = "<your_path>" demo, = task_env.get_demos(amount=1, live_demos=False)
    Alternative for reproduce from the very beginning,
    obs_dict =task_env.reset_to_demo(demo)

  5. alesspalma commented on Jul 2, 2025

    @alesspalma
    Author

    @iamstupidd okay and then how to execute the loaded demo action by action?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions