How to use QMIX algorithm?
When I was using the MADDPG example, I had an error replacing MADDPG_Agents with QMIX_Agents mixer = QMIX_mixer(config.dim_state[0], config.hidden_dim_mixing_net, config.hidden_dim_hyper_net, TypeError: 'NoneType' object is not subscriptable I would like to know how to correctly use QMIX algorithm, hope the author can give an example, thank you
Thank you for the advice. I have updated the ./examples folder by adding QMIX examples of SMAC environments. The examples can be found now at https://github.com/agi-brain/xuance/tree/master/examples/qmix.
You can run the examples of QMIX by typing the following command in the terminal:
python qmix_sc2.py --env sc2 --env 3m --seed 1 --test 0 --device "cuda:0" --benchmark 1 --config "./qmix_sc2_configs/3m.yaml"
or you can run it by just typing python qmix_sc2.py with default settings.
Hope this can help you!