Look here for details and the training code
I checked my bot over millions of pipes - ran for 30 hours on a GPU - and it didn't die even once. So I'm concluding that it's immortal and the problem is now solved in full. For the first time in history. Meanwhile, these bots can be really small - even as low as 500KB in size (and lower is certainly possible with grouped convolutions and more refinement) - and fast. Part of the network in this model is not used, so the actual size is even smaller than those 1.3MB.
- Install TensorFlow
sudo apt-get install graphviz
sudo pip install numpy keras scikit-image pygame pydot graphviz
or, maybe,pip install numpy keras scikit-image pygame pydot graphviz
git clone https://github.com/ibmua/flappy.git
License: public domain.