question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

robosuite env.reset_to "hack" present in run_trained_agent.py but not in train_utils.py

See original GitHub issue

Issue Description

I’m trying to use code from run_trained_agent.py to collect some rollout statistics and it seems like this particular script uses a .reset_to() call that resets an environment to its current state. To my knowledge, this trick isn’t present in other robomimic evaluation scripts, like run_rollout() in train_utils.py.

When collecting human demonstrations on the robosuite task, was the .reset_to() trick used? I’m seeing some performance differences between the two versions of eval scripts, and I’m trying to pinpoint the issue.

https://github.com/ARISE-Initiative/robomimic/blob/b5d2aa9902825c6c652e3b08b19446d199b49590/robomimic/scripts/run_trained_agent.py#L103

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MaxDu17commented, Aug 11, 2022

Let me give this a try with one of the public datsets. I’ll keep you posted!

0reactions
MaxDu17commented, Aug 26, 2022

I’ll close this for now–I think it was a quirk of our own data, as I wasn’t able to reproduce it on the public dataset. If something else comes up, I’ll reopen it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

robosuite.utils package
A class for manipulating a camera. WARNING: This class will initially RE-INITIALIZE the environment. Parameters. env (MujocoEnv) – Mujoco environment to modify ...
Read more >
TypeError related to dtype when running scripts/train.py #7
Hi, I had a problem when running the training code with the following command: python scripts/train.py Then, the error I encounter is: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found