All Projects → TARTRL → TiKick

TARTRL / TiKick

Licence: Apache-2.0 License
Learning-based agent for Google Research Football

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to TiKick

robotic-warehouse
Multi-Robot Warehouse (RWARE): A multi-agent reinforcement learning environment
Stars: ✭ 62 (+3.33%)
Mutual labels:  multi-agent-reinforcement-learning
SMAC
StarCraft II Multi Agent Challenge : QMIX, COMA, LIIR, QTRAN, Central V, ROMA, RODE, DOP, Graph MIX
Stars: ✭ 40 (-33.33%)
Mutual labels:  multi-agent-reinforcement-learning
Mava
A library of multi-agent reinforcement learning components and systems
Stars: ✭ 355 (+491.67%)
Mutual labels:  multi-agent-reinforcement-learning
CoDAIL
Implementation of CoDAIL in the ICLR 2021 paper <Multi-Agent Interactions Modeling with Correlated Policies>
Stars: ✭ 17 (-71.67%)
Mutual labels:  multi-agent-reinforcement-learning
gym-battlesnake
Multi-agent reinforcement learning environment
Stars: ✭ 29 (-51.67%)
Mutual labels:  multi-agent-reinforcement-learning
CommNet-BiCnet
CommNet and BiCnet implementation in tensorflow
Stars: ✭ 50 (-16.67%)
Mutual labels:  multi-agent-reinforcement-learning
malib deprecated
A Multi-agent Learning Framework
Stars: ✭ 63 (+5%)
Mutual labels:  multi-agent-reinforcement-learning
Fruit-API
A Universal Deep Reinforcement Learning Framework
Stars: ✭ 61 (+1.67%)
Mutual labels:  multi-agent-reinforcement-learning

TiKick

License

1.Introduction

Learning-based agent for Google Research Football

Code accompanying the paper "TiKick: Towards Playing Multi-agent Football Full Games from Single-agent Demonstrations". [arxiv][videos]. The implementation in this repositorory is heavily based on https://github.com/marlbenchmark/on-policy.

2.Installation

pip install -r requirements.txt
pip install .

3.Evaluation with Trained Model

(a) First, you should download the trained model from Baidu Yun or Google Drive:

(b) Then, you should put the actor.pt under ./models/{scenario_name}/.

(c) Finally, you can go to the ./scripts/football folder and execute the evaluation script as below:

cd scripts/football
./evaluate.sh

Then the replay file will be saved into ./results/{scenario_name}/replay/.

  • Hyper-parameters in the evaluation script:
    • --replay_save_dir : the replay file will be saved in this directory
    • --model_dir : pre-trained model should be placed under this directory
    • --n_eval_rollout_threads : number of parallel envs for evaluating rollout
    • --eval_num : number of total evaluation times

4.Render with the Replay File

Once you obtain a replay file, you can convert it to a .avi file and watch the game. This can be easily done via:

cd scripts/football
python3 replay2video.py --replay_file ../../results/academy_3_vs_1_with_keeper/replay/your_path.dump

The video file will finally be saved to ./results/{scenario_name}/video/

5.Cite

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

@misc{huang2021tikick,
    title={TiKick: Towards Playing Multi-agent Football Full Games from Single-agent Demonstrations},
    author={Shiyu Huang and Wenze Chen and Longfei Zhang and Ziyang Li and Fengming Zhu and Deheng Ye and Ting Chen and Jun Zhu},
    year={2021},
    eprint={2110.04507},
    archivePrefix={arXiv},
    primaryClass={cs.AI}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].