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

Use cloudpickle for environment duplication #200

Merged
merged 2 commits into from
Jan 11, 2021
Merged

Use cloudpickle for environment duplication #200

merged 2 commits into from
Jan 11, 2021

Conversation

jkterry1
Copy link
Collaborator

Right now the way environments are duplicated requires named gym environments. For third party gym environments without names, or supersuit wrapped gym environments, this doesn't function. The typical way to duplication in these cases is pickle or cloud pickle, and there's a few things we'd like to use this for that pickle can't handle. Also, gym depends on cloud pickle, so this isn't really adding a new dependency.

cpnota
cpnota previously approved these changes Jan 11, 2021
Copy link
Owner

@cpnota cpnota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, definitely a better way to duplicate the environments!

@jkterry1 jkterry1 merged commit 263e3b0 into develop Jan 11, 2021
@cpnota cpnota deleted the cloudpickle branch March 23, 2021 13:06
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.

2 participants