项目
在 GitHub 查看
yanpanlau/Keras-FlappyBird
关于
Using Keras and Deep Q-Network to Play FlappyBird
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Keras-FlappyBird
A single 200 lines of python code to demostrate DQN with Keras
Please read the following blog for details
https://yanpanlau.github.io/2016/07/10/FlappyBird-Keras.html

Installation Dependencies:
- Python 2.7
- Keras 1.0
- pygame
- scikit-image
How to Run?
CPU only
git clone https://github.com/yanpanlau/Keras-FlappyBird.git
cd Keras-FlappyBird
python qlearn.py -m "Run"
GPU version (Theano)
git clone https://github.com/yanpanlau/Keras-FlappyBird.git
cd Keras-FlappyBird
THEANO_FLAGS=device=gpu,floatX=float32,lib.cnmem=0.2 python qlearn.py -m "Run"
If you want to train the network from beginning, delete the model.h5 and run qlearn.py -m "Train"
探索相关项目
加载中…