版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/WoPawn/article/details/52788190
首先说明,该篇博客是在ubuntu16.04+gtx1060+cuda8.0+tensorflow源码安装、测试经历基础上进行实验,gtx 1060显卡驱动、cuda、cudnn和tensorflow安装这里不再赘述。
废话不多说,上车吧,少年
一、Flappy Bird
载入源码,终端输入
git clone https://github.com/yenchenlin/DeepLearningFlappyBird.git
安装依赖,终端输入
sudo pip install pygame
sudo pip install OpenCV-Python
直接实验,终端输入
cd ~/DeepLearningFlappyBird/
python deep_q_network.py
实验结果