devsisters/DQN-tensorflow
devsisters/DQN-tensorflow has 2,591 GitHub stars and 755 forks. GitHot measured -1 stars in 24 hours, -4 in 7 days, and -3 in 15 days. Last checked 2026-11-22 03:21 UTC. Last push 2019-04-18.
实测星标增长
- 24小时
- -1
- 7天
- -4
- 15天
- -3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
通过深度强化学习实现人类水平控制的 TensorFlow 实现。
机器学习README.md
原文Human-Level Control through Deep Reinforcement Learning
Tensorflow implementation of Human-Level Control through Deep Reinforcement Learning.

This implementation contains:
- Deep Q-network and Q-learning
- Experience replay memory
- to reduce the correlations between consecutive updates
- Network for Q-learning targets are fixed for intervals
- to reduce the correlations between target and predicted Q-values
Requirements
- Python 2.7 or Python 3.3+
- gym
- tqdm
- SciPy or OpenCV2
- TensorFlow 0.12.0
Usage
First, install prerequisites with:
$ pip install tqdm gym[all]
To train a model for Breakout:
$ python main.py --env_name=Breakout-v0 --is_train=True
$ python main.py --env_name=Breakout-v0 --is_train=True --display=True
To test and record the screen with gym:
$ python main.py --is_train=False
$ python main.py --is_train=False --display=True
Results
Result of training for 24 hours using GTX 980 ti.

Simple Results
Details of Breakout with model m2(red) for 30 hours using GTX 980 Ti.

Details of Breakout with model m3(red) for 30 hours using GTX 980 Ti.

Detailed Results
[1] Action-repeat (frame-skip) of 1, 2, and 4 without learning rate decay

[2] Action-repeat (frame-skip) of 1, 2, and 4 with learning rate decay

[1] & [2]

[3] Action-repeat of 4 for DQN (dark blue) Dueling DQN (dark green) DDQN (brown) Dueling DDQN (turquoise)
The current hyper parameters and gradient clipping are not implemented as it is in the paper.

[4] Distributed action-repeat (frame-skip) of 1 without learning rate decay

[5] Distributed action-repeat (frame-skip) of 4 without learning rate decay

References
License
MIT License.
探索相关项目
加载中…