Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lebrice
Copy link
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.

None yet

1 participant