Deep Learning

1. Introduction to Deep Learning / L2. Applying Deep Learning - Flappy Bird

chrisysl 2018. 6. 14. 11:28

Flappy Bird


 - Flappy Bird를 딥러닝을 이용하여 학습한 플레이를 확인 할 수 있다.

 - 직접 학습을 시킬수도 있지만, 우선은 학습된 모델로 확인해보자.

 - 플레이어에게 게임의 룰을 알려주지 않아도 스스로 시행착오(trial and error)를 거쳐 

 - 학습하며 게임을 진행해나감을 확인할 수 있다.


우리는 이사람(https://github.com/yenchenlin/DeepLearningFlappyBird)의 깃 repository를 이용해볼것임




하는법 : 

#> conda create --name=flappybird python=3.5    // flappybird의 환경변수 생성

#> activate flappybird                                      // conda 환경 입력

#> conda install -c menpo opencv3

#> pip install pygame

#> pip install tensorflow

#> git clone https://github.com/yenchenlin/DeepLearningFlappyBird.git

#> cd DeepLearningFlappyBird

#> python deep_q_network.py


이대로 진행해보면 딥러닝에 의해 스스로 학습하며 게임을 진행하는것을 확인할 수 있다.






읽어봐야할 책으로는


Neural Networks And Deep Learning(http://neuralnetworksanddeeplearning.com/)

The Deep Learning Textbook(http://www.deeplearningbook.org/)

Grokking Deep Learning(https://www.manning.com/books/grokking-deep-learning)     // 40% discount code :  traskud17