Welcome to the Practical Activity of Part 3!
This time we are going to build an AI to beat the game of Breakout! Here is the plan:
First, we will build an AI, which will be the LSTM-A3C model.
Then, we will watch some very cool videos of our AI playing Breakout and trying to beat it!
We will build this AI with PyTorch, a highly advanced Deep Learning & AI platform. Every single line of code will be explained in details but I would recommend to have a first look at the PyTorch documentation to start getting familiar with PyTorch:
Also, please make sure to install all the packages required for our implementation. Below are the Installation Instructions:
Linux and Max users, please open your terminal.
On Mac, the easiest way to open it is to press anywhere cmd + space, and then in the Spotlight Search you enter "terminal".
On Linux, you will find it very easily, usually on the left side of your monitor.
Then inside the terminal, copy paste and enter each of the following line commands separately:
conda install -c pytorch pytorch conda install -c akode gym conda install -c menpo ffmpeg conda install -c conda-forge opencv
And Windows users, please open the anaconda prompt, which you can find this way:
Windows Button in the lower left corner -> List of programs -> anaconda -> anaconda prompt
Then inside the anaconda prompt, copy paste and enter each of the following line commands separately:
conda install -c pytorch pytorch conda install -c akode gym conda install -c menpo ffmpeg conda install -c conda-forge opencv
Enjoy AI!