├── .gitignore ├── LICENSE ├── README.md ├── install_sc2.sh ├── qplex_smac ├── LICENSE ├── README.md ├── docs │ └── smac.md ├── setup.py └── smac │ ├── __init__.py │ ├── bin │ ├── __init__.py │ └── map_list.py │ ├── env │ ├── __init__.py │ ├── lbforaging │ │ ├── __init__.py │ │ ├── agents │ │ │ ├── __init__.py │ │ │ ├── hba.py │ │ │ ├── heuristic_agent.py │ │ │ ├── monte_carlo.py │ │ │ ├── nn_agent.py │ │ │ ├── q_agent.py │ │ │ └── random_agent.py │ │ └── foraging │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── environment.py │ │ │ ├── icons │ │ │ ├── agent.png │ │ │ └── apple.png │ │ │ └── rendering.py │ ├── matrix_game_1.py │ ├── matrix_game_2.py │ ├── matrix_game_3.py │ ├── mmdp_game_1.py │ ├── multiagentenv.py │ └── starcraft2 │ │ ├── __init__.py │ │ ├── maps │ │ ├── SMAC_Maps.zip │ │ ├── SMAC_Maps │ │ │ ├── 10m_vs_11m.SC2Map │ │ │ ├── 10m_vs_12m.SC2Map │ │ │ ├── 15m_vs_17m.SC2Map │ │ │ ├── 15m_vs_18m.SC2Map │ │ │ ├── 1c3s5z.SC2Map │ │ │ ├── 1c3s5z_vs_1c3s6z.SC2Map │ │ │ ├── 1c3s8z_vs_1c3s9z.SC2Map │ │ │ ├── 1o_10b_vs_1r.SC2Map │ │ │ ├── 1o_2r_vs_4r.SC2Map │ │ │ ├── 25m.SC2Map │ │ │ ├── 27m_vs_30m.SC2Map │ │ │ ├── 2c_vs_64zg.SC2Map │ │ │ ├── 2s3z.SC2Map │ │ │ ├── 2s_vs_1sc.SC2Map │ │ │ ├── 3c_vs_100zg.SC2Map │ │ │ ├── 3c_vs_97zg.SC2Map │ │ │ ├── 3c_vs_98zg.SC2Map │ │ │ ├── 3s5z.SC2Map │ │ │ ├── 3s5z_vs_3s6z.SC2Map │ │ │ ├── 3s_vs_5z copy.SC2Map │ │ │ ├── 3s_vs_5z.SC2Map │ │ │ ├── 5m_vs_6m.SC2Map │ │ │ ├── 5s10z.SC2Map │ │ │ ├── 5z_vs_1ul.SC2Map │ │ │ ├── 6h_vs_8z.SC2Map │ │ │ ├── 6s_vs_10z.SC2Map │ │ │ ├── 6s_vs_11z.SC2Map │ │ │ ├── 6s_vs_12z.SC2Map │ │ │ ├── 7sz.SC2Map │ │ │ ├── MMM.SC2Map │ │ │ ├── MMM2.SC2Map │ │ │ ├── MMM30.SC2Map │ │ │ ├── MMM31.SC2Map │ │ │ ├── MMM32.SC2Map │ │ │ ├── bane_vs_bane.SC2Map │ │ │ ├── corridor.SC2Map │ │ │ └── so_many_baneling.SC2Map │ │ ├── __init__.py │ │ └── smac_maps.py │ │ └── starcraft2.py │ └── examples │ ├── __init__.py │ ├── random_agents.py │ └── rllib │ ├── README.rst │ ├── __init__.py │ ├── env.py │ ├── model.py │ ├── run_ppo.py │ └── run_qmix.py ├── requirements.txt └── src ├── .gitignore ├── __init__.py ├── components ├── __init__.py ├── action_selectors.py ├── episode_buffer.py ├── epsilon_schedules.py └── transforms.py ├── config ├── algs │ ├── maic.yaml │ ├── maic_qplex.yaml │ ├── ndq.yaml │ ├── qmix.yaml │ ├── qplex.yaml │ └── qplex_qatten_sc2.yaml ├── default.yaml └── envs │ ├── foraging.yaml │ ├── join1.yaml │ ├── sc2.yaml │ └── sc2_beta.yaml ├── controllers ├── __init__.py ├── basic_controller.py └── maic_controller.py ├── envs ├── __init__.py ├── join1.py ├── lbforaging │ ├── __init__.py │ └── foraging.py └── multiagentenv.py ├── learners ├── __init__.py ├── coma_learner.py ├── dmaq_qatten_learner.py ├── maic_learner.py ├── maic_qplex_learner.py ├── q_learner.py └── qtran_learner.py ├── main.py ├── modules ├── __init__.py ├── agents │ ├── __init__.py │ ├── maic_agent.py │ └── rnn_agent.py ├── critics │ ├── __init__.py │ └── coma.py └── mixers │ ├── __init__.py │ ├── dmaq_general.py │ ├── dmaq_qatten.py │ ├── dmaq_qatten_weight.py │ ├── dmaq_si_weight.py │ ├── qmix.py │ ├── qtran.py │ └── vdn.py ├── run.py ├── runners ├── __init__.py ├── episode_runner.py └── parallel_runner.py └── utils ├── dict2namedtuple.py ├── logging.py ├── rl_utils.py └── timehelper.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/README.md -------------------------------------------------------------------------------- /install_sc2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/install_sc2.sh -------------------------------------------------------------------------------- /qplex_smac/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/LICENSE -------------------------------------------------------------------------------- /qplex_smac/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/README.md -------------------------------------------------------------------------------- /qplex_smac/docs/smac.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/docs/smac.md -------------------------------------------------------------------------------- /qplex_smac/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/setup.py -------------------------------------------------------------------------------- /qplex_smac/smac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qplex_smac/smac/bin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qplex_smac/smac/bin/map_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/bin/map_list.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/hba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/hba.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/heuristic_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/heuristic_agent.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/monte_carlo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/monte_carlo.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/nn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/nn_agent.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/q_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/q_agent.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/agents/random_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/agents/random_agent.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/__init__.py: -------------------------------------------------------------------------------- 1 | from .environment import ForagingEnv 2 | -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/foraging/agent.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/foraging/environment.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/icons/agent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/foraging/icons/agent.png -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/icons/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/foraging/icons/apple.png -------------------------------------------------------------------------------- /qplex_smac/smac/env/lbforaging/foraging/rendering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/lbforaging/foraging/rendering.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/matrix_game_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/matrix_game_1.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/matrix_game_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/matrix_game_2.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/matrix_game_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/matrix_game_3.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/mmdp_game_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/mmdp_game_1.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/multiagentenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/multiagentenv.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps.zip -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/10m_vs_11m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/10m_vs_11m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/10m_vs_12m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/10m_vs_12m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/15m_vs_17m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/15m_vs_17m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/15m_vs_18m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/15m_vs_18m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s5z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s5z_vs_1c3s6z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s5z_vs_1c3s6z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s8z_vs_1c3s9z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1c3s8z_vs_1c3s9z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1o_10b_vs_1r.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1o_10b_vs_1r.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1o_2r_vs_4r.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/1o_2r_vs_4r.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/25m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/25m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/27m_vs_30m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/27m_vs_30m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2c_vs_64zg.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2c_vs_64zg.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2s3z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2s3z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2s_vs_1sc.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/2s_vs_1sc.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_100zg.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_100zg.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_97zg.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_97zg.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_98zg.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3c_vs_98zg.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s5z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s5z_vs_3s6z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s5z_vs_3s6z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s_vs_5z copy.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s_vs_5z copy.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s_vs_5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/3s_vs_5z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5m_vs_6m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5m_vs_6m.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5s10z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5s10z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5z_vs_1ul.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/5z_vs_1ul.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6h_vs_8z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6h_vs_8z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_10z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_10z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_11z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_11z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_12z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/6s_vs_12z.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/7sz.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/7sz.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM2.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM2.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM30.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM30.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM31.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM31.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM32.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/MMM32.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/bane_vs_bane.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/bane_vs_bane.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/corridor.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/corridor.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/so_many_baneling.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/SMAC_Maps/so_many_baneling.SC2Map -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/maps/smac_maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/maps/smac_maps.py -------------------------------------------------------------------------------- /qplex_smac/smac/env/starcraft2/starcraft2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/env/starcraft2/starcraft2.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qplex_smac/smac/examples/random_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/random_agents.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/README.rst -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/__init__.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/env.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/model.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/run_ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/run_ppo.py -------------------------------------------------------------------------------- /qplex_smac/smac/examples/rllib/run_qmix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/qplex_smac/smac/examples/rllib/run_qmix.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | tb_logs/ 2 | results/ 3 | -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/action_selectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/components/action_selectors.py -------------------------------------------------------------------------------- /src/components/episode_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/components/episode_buffer.py -------------------------------------------------------------------------------- /src/components/epsilon_schedules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/components/epsilon_schedules.py -------------------------------------------------------------------------------- /src/components/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/components/transforms.py -------------------------------------------------------------------------------- /src/config/algs/maic.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/maic.yaml -------------------------------------------------------------------------------- /src/config/algs/maic_qplex.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/maic_qplex.yaml -------------------------------------------------------------------------------- /src/config/algs/ndq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/ndq.yaml -------------------------------------------------------------------------------- /src/config/algs/qmix.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/qmix.yaml -------------------------------------------------------------------------------- /src/config/algs/qplex.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/qplex.yaml -------------------------------------------------------------------------------- /src/config/algs/qplex_qatten_sc2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/algs/qplex_qatten_sc2.yaml -------------------------------------------------------------------------------- /src/config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/default.yaml -------------------------------------------------------------------------------- /src/config/envs/foraging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/envs/foraging.yaml -------------------------------------------------------------------------------- /src/config/envs/join1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/envs/join1.yaml -------------------------------------------------------------------------------- /src/config/envs/sc2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/envs/sc2.yaml -------------------------------------------------------------------------------- /src/config/envs/sc2_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/config/envs/sc2_beta.yaml -------------------------------------------------------------------------------- /src/controllers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/controllers/__init__.py -------------------------------------------------------------------------------- /src/controllers/basic_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/controllers/basic_controller.py -------------------------------------------------------------------------------- /src/controllers/maic_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/controllers/maic_controller.py -------------------------------------------------------------------------------- /src/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/envs/__init__.py -------------------------------------------------------------------------------- /src/envs/join1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/envs/join1.py -------------------------------------------------------------------------------- /src/envs/lbforaging/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/envs/lbforaging/__init__.py -------------------------------------------------------------------------------- /src/envs/lbforaging/foraging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/envs/lbforaging/foraging.py -------------------------------------------------------------------------------- /src/envs/multiagentenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/envs/multiagentenv.py -------------------------------------------------------------------------------- /src/learners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/__init__.py -------------------------------------------------------------------------------- /src/learners/coma_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/coma_learner.py -------------------------------------------------------------------------------- /src/learners/dmaq_qatten_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/dmaq_qatten_learner.py -------------------------------------------------------------------------------- /src/learners/maic_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/maic_learner.py -------------------------------------------------------------------------------- /src/learners/maic_qplex_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/maic_qplex_learner.py -------------------------------------------------------------------------------- /src/learners/q_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/q_learner.py -------------------------------------------------------------------------------- /src/learners/qtran_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/learners/qtran_learner.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/main.py -------------------------------------------------------------------------------- /src/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/agents/__init__.py -------------------------------------------------------------------------------- /src/modules/agents/maic_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/agents/maic_agent.py -------------------------------------------------------------------------------- /src/modules/agents/rnn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/agents/rnn_agent.py -------------------------------------------------------------------------------- /src/modules/critics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/critics/coma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/critics/coma.py -------------------------------------------------------------------------------- /src/modules/mixers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/mixers/dmaq_general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/dmaq_general.py -------------------------------------------------------------------------------- /src/modules/mixers/dmaq_qatten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/dmaq_qatten.py -------------------------------------------------------------------------------- /src/modules/mixers/dmaq_qatten_weight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/dmaq_qatten_weight.py -------------------------------------------------------------------------------- /src/modules/mixers/dmaq_si_weight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/dmaq_si_weight.py -------------------------------------------------------------------------------- /src/modules/mixers/qmix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/qmix.py -------------------------------------------------------------------------------- /src/modules/mixers/qtran.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/qtran.py -------------------------------------------------------------------------------- /src/modules/mixers/vdn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/modules/mixers/vdn.py -------------------------------------------------------------------------------- /src/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/run.py -------------------------------------------------------------------------------- /src/runners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/runners/__init__.py -------------------------------------------------------------------------------- /src/runners/episode_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/runners/episode_runner.py -------------------------------------------------------------------------------- /src/runners/parallel_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/runners/parallel_runner.py -------------------------------------------------------------------------------- /src/utils/dict2namedtuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/utils/dict2namedtuple.py -------------------------------------------------------------------------------- /src/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/utils/logging.py -------------------------------------------------------------------------------- /src/utils/rl_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/utils/rl_utils.py -------------------------------------------------------------------------------- /src/utils/timehelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mansicer/MAIC/HEAD/src/utils/timehelper.py --------------------------------------------------------------------------------