1 Star 3 Fork 0

裤҉裆҉里҉的҉霸҉气҉ / reinforcement-learning

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

环境

  • tensorflow 1.8
  • numpy
  • gym
  • pybox2d

Deep Q Network

  1. 使用说明:

执行python lunar_lander.py [-d] [-D] [-r] [-l] [-t]命令运行程序。

-d: 使用Dueling DQN

-D: 使用Double DQN

-r: 展示游戏画面

-l: 输出tensorboard log文件

-t: 训练模式

如果你想使用Dueling DQN 并且使用 Double DQN对LunarLander环境进行训练,执行

python lunar_lander.py -d -D -t

如果你想读取保存好的模型,展示游戏画面,执行

python lunar_lander.py -d -D -r

注意:如果训练的时候使用了Dueling DQN -d,则读取的时候记得也要带上 -d

  1. 结果:

CartPole

LunarLander

Repository Comments ( 0 )

Sign in to post a comment

About

强化学习实现gym环境,持续更新,已有dqn实现cartpole、lunarlander expand collapse
Python
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://git.oschina.net/kdldbq/reinforcement-learning.git
git@git.oschina.net:kdldbq/reinforcement-learning.git
kdldbq
reinforcement-learning
reinforcement-learning
master

Search