Coder Social home page Coder Social logo

rl-bot-football's Introduction

RL agent for the Google Football environment

This code implements a bare-bones version of the Proximal Policy Optimization (PPO) algorithm for the purpose of training an AI bot to play the game of football. The tutorial series for learning step-by-step implementation of this algorithm can be found in video format here or in a blogpost here.

Setup instructions

Tested on Ubuntu 18.04 and a single NVIDIA GPU.

  1. Get the Google Research Football environment up and running using these instructions. This repository uses the gpu version of tensorflow/gfootball.
  2. Install Keras using pip3 install Keras.

Training

  1. Execute python3 train.py script to start the PPO training loop.

Render on remote display server

To render the game screen on a remote display (eg. if using Google Colab), execute the instructions in display_server.sh. For more information, check out this thread.

Acknowledgements

  1. PPO-Keras
  2. PPO-PyTorch
  3. Roboschool environment PPO tutorial

rl-bot-football's People

Contributors

chintantrivedi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.