starry-sky6688 / MARL-Algorithms

Implementations of IQL, QMIX, VDN, COMA, QTRAN, MAVEN, CommNet, DyMA-CL, and G2ANet on SMAC, the decentralised micromanagement scenario of StarCraft II
1.46k stars 283 forks source link

How to execute IQL? #36

Closed Sobbbbbber closed 3 years ago

Sobbbbbber commented 3 years ago

Thanks for sharing the code~ I'm interesting in the IQL, how to execute it, can u give me some advice?

starry-sky6688 commented 3 years ago

In common/arguments.py, 'alg' is used to controll the algorithm, so you can use the following command:

python main.py --map=3m --alg=iql

or

you can directly change the 'alg' into 'iql' in common/arguments.py, and then run the main.py