Closed Dongjiahua closed 1 month ago
Can you test with different MuJoCo versions?
Thanks, and it works well! Previously, I didn't carefully follow the mujoco<3.0.0 requirements, which led to such a problem.
Hi @Dongjiahua, could you elaborate on your solution to this problem? I have the same issue, but even when moving back to version 0.1.0 I can't have successful trajectories for reach, pick and place, or push tasks.
Thanks!
You shouldn't be using version 0.1.0 -- the most recent push in the master branch generates successful trajectories for those tasks.
Hi Reginald, thanks for the quick reply! I wasn't, I installed the latest version and couldn't get the expert policies to work there, read here that they worked fine on 0.1.0 and gave that shot, but not luck either. Do you guys have any idea what could be wrong?
If you use the most up to date commit on the master branch it should work -- one of our build tests tests the scripted policies and the tests are currently passing.
I'm so sorry, didn't realize I was importing ML1 instead of MT1. Any particular reason the scripted policies don't work for those ML1 tasks?
The scripted policies require the goal to be observable in the state, but if you use the ML1 version of an environment the goal is zeroed out. Thus the policy can't solve the task
I try to use expert policies to create demonstrations. However, I met some problems when starting with the
docs/usage/basic_usage.md
code. Specifically, the code works well when using thereach
task, but it immediately fails when I switch to thepush
task. The following is my code when using the latest update of MetaworldIt will truncate finally (probably maximum length) and not success. a short snapshot of the output is:
However, when I switch back to v0.1.0 (likely with mujoco_py and gym), it works correctly. the code is
The snapshot of the output is:
Such a phenomenon also appears in most tasks like
assembly
andbasketball.
I don't quite understand why such failure cases occur in a newer version of Metaworld. Are there any solvents?