Metaworld icon indicating copy to clipboard operation
Metaworld copied to clipboard

The code for creating "single-task goal conditioned" environments is confusing

Open krzentner opened this issue 1 year ago • 0 comments

The code used to create metaworld.envs.ALL_V2_ENVIRONMENTS_GOAL_OBSERVABLE and metaworld.envs.ALL_V2_ENVIRONMENTS_GOAL_HIDDEN is highly non-obvious and among other things involves running a regex on the environment name. It should be possible to implement this with a simple for loop and a small wrapper class. The current implementation is here. Fortunately, there are test here, so this change should be fairly easy to make and low-risk.

krzentner avatar Mar 22 '23 01:03 krzentner