Toolkit and agents for Google Research Football
Project description
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 gfootballpip install tizero(or clone this repo andpip 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45961f90413413747eb5059279c06c8a5db6919cf6fff8db956768a46797b1e0
|
|
| MD5 |
446b749c6bb10aa48bb061802a857de2
|
|
| BLAKE2b-256 |
6c2d34ea03e512b2dc28e527b08a8fed974ccb5771f66873b71abbaee7d88dea
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52fed8ec48f36279f15352683394a46be8278323045cf0842eaf363ce1abb2e3
|
|
| MD5 |
09b03f13dbf90b4ca4b636e1092707f6
|
|
| BLAKE2b-256 |
e35949a0e92eeee0cdaf04d07632db86dc7de6808fd9527497c26596db337bcd
|