Google Football Pytorch Save Abandoned

It's the pytorch implementation of google research football.

Project README

Google Football Research

MIT License
This is the pytorch example of the google football research, more contents will be updated soon!:soccer:

Requirements

  • python-3.6.8
  • openai-baselines
  • pytorch-1.1.0
  • gfootball

TODO List

  • add more tasks and examples - full game is in plan.
  • remove openai-baseline's functions.
  • add more algorithms: IMPALA and Ape-X DQN.
  • add multi-agent reinforcement learning algorithms (MARL)

Installation

Please install the gfootball according to the instructions here.

  1. Make sure your pip is less than 19, the lastest version of pip will disable --process-dependency-links.
conda install pip==18.1
  1. Install tensorflow (well, we don't need it, but it's required for gfootball).
pip install tensorflow
  1. Install gfootball.
git clone https://github.com/google-research/football.git
cd football
pip install .[tf_cpu] --process-dependency-links (we don't need GPU for tensorflow)

How to use the code

Train the simple example - academy_empty_goal_close

python train_example.py --cuda (if you have a GPU)

Play the demo:

python demo.py

Demo

academy_empty_goal_close academy_run_to_score
academy_3_vs_1_with_keeper academy_counterattack_easy
Open Source Agenda is not affiliated with "Google Football Pytorch" Project. README Source: TianhongDai/google-football-pytorch
Stars
35
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating