Skip to content

Pass a seed to env.seed for MetaWorld envs#260

Open
lebrice wants to merge 1 commit intomasterfrom
pass_seed_to_metaworld_envs
Open

Pass a seed to env.seed for MetaWorld envs#260
lebrice wants to merge 1 commit intomasterfrom
pass_seed_to_metaworld_envs

Conversation

@lebrice
Copy link
Copy Markdown
Owner

@lebrice lebrice commented Apr 18, 2023

This would cause an error when running the CW10 benchmark, for example, since the MultiTaskEnvironment constructor calls self.seed(seed), which calls self.env.seed(seed). In the case of Mujoco environments created by the MetaWorld benchmark, this isn't good, because there's an assert seed is not None in their source code.

This was probably caused by the metaworld / mujoco-py dependency not being pinned properly enough. If I find the time, I'll look into this some more.

NOTE: This slightly changes the seeding of the Metaworld environments, which might change the results of some experiments.

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
@lebrice lebrice force-pushed the pass_seed_to_metaworld_envs branch from dbbbed0 to 1237ab1 Compare May 30, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant