Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 3.42 KB

readme.md

File metadata and controls

62 lines (44 loc) · 3.42 KB

dqn-tx1-for-nintendo

Aka, a Deep Q Learner Network (DQN) on NVIDIA Jetson TX1 which learns to play Nintendo Famicom Mini games.

I'm developing an AI program, based on DeepMind's DQN, on Jetson TX1 to play Nintendo games. I use this repository to keep track of all source code of the project. Please refer to the following blog posts for more information.

DQN (RL Agent) on TX1 for Nintendo Famicom Mini

Nintendo AI Agent Training in Action, Finally...

Training an AI agent to play 'Galaga' on Nintendo Famicom Mini

Installation Instructions

The following are required for this dqn-tx1-for-nintendo to work.

Training DQN on Nintendo Games

To build the code on Jetson TX1, just run make at the project root diretory.

 $ make

Then execute train-deepmind.lua to train the DQN (use -h to see help messages).

 $ th ./train-deepmind.lua

Modules within This Project

The following modules resides in the corresponding subdirectories of the repository. There are also test scripts for most modules as described in the next section.

Testing Individual Modules

All test scripts are organized in the 'test' subdirectory. They are meant to be run from the project root directory. Most of the test scripts accept cmdline options (use -h to see help messages).

 $ qlua test/test_vidcap.lua
 $ qlua test/test_galaga.lua
 $ th   test/test_gpio.lua
 $ th   test/test_imshow.lua
 $ th   test/test_gameenv.lua