Skip to content

Fixed RL examples to work with new gym API #1051

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

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

vfdev-5
Copy link
Contributor

@vfdev-5 vfdev-5 commented Sep 9, 2022

Description:

  • Currently RL examples are not working with the latest open gym v0.26.0
  • replaced deprecated env.seed call in actor_critic.py
  • updated code of both examples with new ouptut of env.reset() and env.step()

@netlify
Copy link

netlify bot commented Sep 9, 2022

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 9fd930c
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-examples-preview/deploys/631afa6f18b7380009baa1fe

@msaroufim
Copy link
Member

Thank you @vfdev-5 !

@msaroufim msaroufim merged commit 8428996 into pytorch:main Sep 14, 2022
@msaroufim msaroufim mentioned this pull request Sep 14, 2022
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants