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

gymモジュールの挙動について #18

Open
kawase621 opened this issue Dec 28, 2022 · 0 comments
Open

gymモジュールの挙動について #18

kawase621 opened this issue Dec 28, 2022 · 0 comments

Comments

@kawase621
Copy link

gymモジュールの挙動が書籍と異なります。

実行するコード

env = gym.make('CartPole-v0') 
state = env.reset() 
print(state) 

出力結果:
(array([-0.0473311 , 0.02710982, -0.0452505 , -0.01258285], dtype=float32), {})

タプルなので、例えばp.268のget_action()関数の一行目などエラーになると思います。

バージョンの問題などでしょうか?

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