0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

keras-rlとOpenAI Gymで強化学習( pacman サンプル)

0
Posted at

はじめに

keras-rlとOpenAI Gymで breakout サンプルで強化学習したコードをベースにpacmanを試します。
https://qiita.com/kznx/items/dc269d55976f030e028e

pacman サンプル

 breakoutのコードから変更した箇所は一点だけ。環境を pacman に変えただけです。

env_name=('MsPacman-v0')

 

トレーニング結果

 デフォルトの1750000step完了には、15時間ほどかかりました。やっぱり強化学習にはGPUは必須な様です。

最後に

 pacman サンプルを試してみました。breakout サンプルと共通のコードで学習できるのは、理解しているつもりでも、驚嘆してしまいます。

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?