Using DQN to play Flappy Bird. Implemented by PyTorch.
Improvement: Fixed Q-Network
RL.md
: Notes about DQN
- PyTorch 1.4.0
- pygame 1.9.6
play the game with pretrained weights:
(set FPS to 480, achieve 2000 score in 10 minutes.)
python main.py --play
train:
python main.py
resume training with pretrained weights:
python main.py --resume --ckpt_path 'path'
This work is based on the following repos: