Skip to main content

Toolkit and agents for Google Research Football

Project description

License

Documentation Status

Introduction

Reinforcement learning agent for Google Research Football.

Code accompanying the paper "TiZero: Mastering Multi-Agent Football with Curriculum Learning and Self-Play" (AAMAS 2023). [paper] [videos].

Installation

  • Follow the instructions in gfootball to set up the environment.
  • pip install gfootball
  • pip install tizero (or clone this repo and pip install -e .).
  • test the installation by python3 -m gfootball.play_game --action_set=full.

Convert dump file to video

After the installation, you can use tizero to convert a dump file to a video file. You can download an example dump file from here. And then execute tizero --tool dump2video --input daily_6484285.dump --output ./ in your terminal. Wait a minute, you will get a video file named daily_6484285.avi in your current directory.

Submit TiZero to JIDI(及第评测平台)

JIDI is a public evaluation platform for RL agents. You can submit your agent of GRF at: http://www.jidiai.cn/env_detail?envid=34.

We provide two agents under ./submission/ directory:

  • ./submission/tizero: the final model of TiZero for JIDI submission, which ranked 1st on October 28th, 2022.
  • ./submission/random_agent: the random agent for JIDI submission.

Cite

Please cite our paper if you use our codes or our weights in your own work:

@article{lin2023tizero,
  title={TiZero: Mastering Multi-Agent Football with Curriculum Learning and Self-Play},
  author={Lin, Fanqi and Huang, Shiyu and Pearce, Tim and Chen, Wenze and Tu, Wei-Wei},
  journal={arXiv preprint arXiv:2302.07515},
  year={2023}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tizero-0.0.1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tizero-0.0.1-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file tizero-0.0.1.tar.gz.

File metadata

  • Download URL: tizero-0.0.1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for tizero-0.0.1.tar.gz
Algorithm Hash digest
SHA256 45961f90413413747eb5059279c06c8a5db6919cf6fff8db956768a46797b1e0
MD5 446b749c6bb10aa48bb061802a857de2
BLAKE2b-256 6c2d34ea03e512b2dc28e527b08a8fed974ccb5771f66873b71abbaee7d88dea

See more details on using hashes here.

File details

Details for the file tizero-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tizero-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for tizero-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52fed8ec48f36279f15352683394a46be8278323045cf0842eaf363ce1abb2e3
MD5 09b03f13dbf90b4ca4b636e1092707f6
BLAKE2b-256 e35949a0e92eeee0cdaf04d07632db86dc7de6808fd9527497c26596db337bcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page