0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

誰も教えてくれない今のAtari環境の使い方

Posted at

概要

Atari Breakoutを用いて、PPOを実装しようとしたところ、かなり躓いたためメモっておきます。

エラー文

Environment `BreakoutNoFrameskip` doesn't exist.

Breakoutがないよと言われてしまう。

解決法

import ale_py
gym.register_envs(ale_py)  # unnecessary but helpful for IDEs

ale_pyをimportする。aly_pyがない時はpip installする。
gym.register_envsはなくてもいいが、コード補完をしてくれるようになるそう。

これで、今まで通り

env = gym.make('ALE/Breakout-v5', render_mode="human")

というようにgymで環境を作ればよい。
詳しくはこちらを見てください。
https://github.com/Farama-Foundation/Arcade-Learning-Environment

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?