/ME-MFRL

Primary LanguagePythonMIT LicenseMIT

Requirements

tensorflow > 2.0 magent

Install environments

install magent

pip install magent

install mpe

cd env/mpe
pip install -e .

Scripts

train in tag

python train_tag --algo me_mfppo --order 4

train in battle

python train_battle --algo me_mfq --order 4

train in spread

python train_spread --algo me_mfppo --order 4 

test in tag

python test_tag --pred me_mfppo --prey ppo --path xxx xxx --idx  xxx xxx

test in battle

python test_battle --algo me_mfq --oppo mfq --path xxx xxx --idx xxx xxx