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

第七章DNQ回报超出200 #59

Closed
KingOfChuXuan opened this issue Oct 8, 2023 · 1 comment
Closed

第七章DNQ回报超出200 #59

KingOfChuXuan opened this issue Oct 8, 2023 · 1 comment

Comments

@KingOfChuXuan
Copy link

请问一下大家在跑第七章的代码的时候,画出的回报图是否会超过200?

@KingOfChuXuan KingOfChuXuan changed the title 第七章DNQ汇报超出200 第七章DNQ回报超出200 Oct 8, 2023
@KingOfChuXuan
Copy link
Author

好的,我自己解决了,可能是因为新版本的问题,创建环境的时候,需要指定最大步数为200,不然就会一直跑下去。
env = gym.make(env_name, max_episode_steps=200)

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

No branches or pull requests

1 participant