基于DQN的Flappy Bird实验

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/WoPawn/article/details/52788190

首先说明,该篇博客是在ubuntu16.04+gtx1060+cuda8.0+tensorflow源码安装、测试经历基础上进行实验,gtx 1060显卡驱动、cuda、cudnn和tensorflow安装这里不再赘述。


废话不多说,上车吧,少年

一、Flappy Bird

  1. 载入源码,终端输入
    git clone https://github.com/yenchenlin/DeepLearningFlappyBird.git

  2. 安装依赖,终端输入
    sudo pip install pygame
    sudo pip install OpenCV-Python

  3. 直接实验,终端输入
    cd ~/DeepLearningFlappyBird/
    python deep_q_network.py

  4. 实验结果

猜你喜欢

转载自blog.csdn.net/WoPawn/article/details/52788190