├── CADP-PG └── onpolicy │ ├── __init__.py │ ├── algorithms │ ├── __init__.py │ ├── r_mappo │ │ ├── __init__.py │ │ ├── algorithm │ │ │ ├── rMAPPOPolicy.py │ │ │ ├── r_actor_critic.py │ │ │ └── r_actor_critic_cadp.py │ │ └── r_mappo.py │ └── utils │ │ ├── act.py │ │ ├── cnn.py │ │ ├── distributions.py │ │ ├── mlp.py │ │ ├── popart.py │ │ ├── rnn.py │ │ └── util.py │ ├── config.py │ ├── envs │ ├── __init__.py │ ├── env_wrappers.py │ └── starcraft2 │ │ ├── StarCraft2_Env.py │ │ ├── multiagentenv.py │ │ └── smac_maps.py │ ├── runner │ ├── separated │ │ └── base_runner.py │ └── shared │ │ ├── base_runner.py │ │ └── smac_runner.py │ ├── scripts │ ├── __init__.py │ ├── train │ │ ├── __init__.py │ │ └── train_smac.py │ └── train_smac_scripts │ │ ├── train_smac_3s5z_vs_3s6z.sh │ │ ├── train_smac_3s5z_vs_3s6z_cadp.sh │ │ ├── train_smac_5m_vs_6m.sh │ │ ├── train_smac_5m_vs_6m_cadp.sh │ │ ├── train_smac_corridor.sh │ │ └── train_smac_corridor_cadp.sh │ └── utils │ ├── __init__.py │ ├── multi_discrete.py │ ├── separated_buffer.py │ ├── shared_buffer.py │ ├── util.py │ └── valuenorm.py ├── CADP-VD └── src │ ├── .gitignore │ ├── __init__.py │ ├── components │ ├── __init__.py │ ├── action_selectors.py │ ├── episode_buffer.py │ ├── epsilon_schedules.py │ └── transforms.py │ ├── config │ ├── algs │ │ ├── QMIX_CADP.yaml │ │ ├── QPLEX_CADP.yaml │ │ └── VDN_CADP.yaml │ ├── default.yaml │ └── envs │ │ ├── gfootball.yaml │ │ └── sc2.yaml │ ├── controllers │ ├── __init__.py │ ├── basic_controller.py │ └── n_controller.py │ ├── envs │ ├── __init__.py │ ├── gfootball │ │ ├── __init__.py │ │ └── gfootball.py │ ├── multiagentenv.py │ └── starcraft2 │ │ ├── __init__.py │ │ ├── maps │ │ ├── SMAC_Maps │ │ │ ├── 10m_vs_11m.SC2Map │ │ │ ├── 1c3s5z.SC2Map │ │ │ ├── 25m.SC2Map │ │ │ ├── 27m_vs_30m.SC2Map │ │ │ ├── 2c_vs_64zg.SC2Map │ │ │ ├── 2m_vs_1z.SC2Map │ │ │ ├── 2s3z.SC2Map │ │ │ ├── 2s_vs_1sc.SC2Map │ │ │ ├── 3m.SC2Map │ │ │ ├── 3s5z.SC2Map │ │ │ ├── 3s5z_vs_3s6z.SC2Map │ │ │ ├── 3s_vs_3z.SC2Map │ │ │ ├── 3s_vs_4z.SC2Map │ │ │ ├── 3s_vs_5z.SC2Map │ │ │ ├── 5m_vs_6m.SC2Map │ │ │ ├── 6h_vs_8z.SC2Map │ │ │ ├── 7sz.SC2Map │ │ │ ├── 8m.SC2Map │ │ │ ├── 8m_vs_9m.SC2Map │ │ │ ├── MMM.SC2Map │ │ │ ├── MMM2.SC2Map │ │ │ ├── bane_vs_bane.SC2Map │ │ │ ├── corridor.SC2Map │ │ │ └── so_many_baneling.SC2Map │ │ ├── __init__.py │ │ └── smac_maps.py │ │ ├── render.py │ │ └── starcraft2.py │ ├── learners │ ├── __init__.py │ ├── q_learner.py │ ├── q_learner_teacher.py │ └── qplex_learner_teacher.py │ ├── main.py │ ├── modules │ ├── __init__.py │ ├── agents │ │ ├── __init__.py │ │ ├── atten_rnn_agent.py │ │ └── rnn_agent.py │ ├── layers │ │ ├── __init__.py │ │ └── self_atten.py │ └── mixers │ │ ├── __init__.py │ │ ├── qmix.py │ │ ├── qplex.py │ │ └── vdn.py │ ├── run.py │ ├── runners │ ├── __init__.py │ ├── episode_runner.py │ └── parallel_runner.py │ └── utils │ ├── dict2namedtuple.py │ ├── logging.py │ ├── rl_utils.py │ ├── th_utils.py │ └── timehelper.py ├── LICENSE ├── README.md ├── exp-gfootball.png ├── exp-smac.png ├── framework.png ├── introduction.png └── requirements.txt /CADP-PG/onpolicy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/__init__.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/r_mappo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/r_mappo/algorithm/rMAPPOPolicy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/r_mappo/algorithm/rMAPPOPolicy.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/r_mappo/algorithm/r_actor_critic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/r_mappo/algorithm/r_actor_critic.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/r_mappo/algorithm/r_actor_critic_cadp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/r_mappo/algorithm/r_actor_critic_cadp.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/r_mappo/r_mappo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/r_mappo/r_mappo.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/act.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/cnn.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/distributions.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/mlp.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/popart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/popart.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/rnn.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/algorithms/utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/algorithms/utils/util.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/config.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/envs/__init__.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/envs/env_wrappers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/envs/env_wrappers.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/envs/starcraft2/StarCraft2_Env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/envs/starcraft2/StarCraft2_Env.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/envs/starcraft2/multiagentenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/envs/starcraft2/multiagentenv.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/envs/starcraft2/smac_maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/envs/starcraft2/smac_maps.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/runner/separated/base_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/runner/separated/base_runner.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/runner/shared/base_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/runner/shared/base_runner.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/runner/shared/smac_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/runner/shared/smac_runner.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train/train_smac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train/train_smac.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_3s5z_vs_3s6z.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_3s5z_vs_3s6z.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_3s5z_vs_3s6z_cadp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_3s5z_vs_3s6z_cadp.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_5m_vs_6m.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_5m_vs_6m.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_5m_vs_6m_cadp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_5m_vs_6m_cadp.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_corridor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_corridor.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_corridor_cadp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/scripts/train_smac_scripts/train_smac_corridor_cadp.sh -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/multi_discrete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/utils/multi_discrete.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/separated_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/utils/separated_buffer.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/shared_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/utils/shared_buffer.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/utils/util.py -------------------------------------------------------------------------------- /CADP-PG/onpolicy/utils/valuenorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-PG/onpolicy/utils/valuenorm.py -------------------------------------------------------------------------------- /CADP-VD/src/.gitignore: -------------------------------------------------------------------------------- 1 | tb_logs/ 2 | results/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /CADP-VD/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-VD/src/components/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-VD/src/components/action_selectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/components/action_selectors.py -------------------------------------------------------------------------------- /CADP-VD/src/components/episode_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/components/episode_buffer.py -------------------------------------------------------------------------------- /CADP-VD/src/components/epsilon_schedules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/components/epsilon_schedules.py -------------------------------------------------------------------------------- /CADP-VD/src/components/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/components/transforms.py -------------------------------------------------------------------------------- /CADP-VD/src/config/algs/QMIX_CADP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/algs/QMIX_CADP.yaml -------------------------------------------------------------------------------- /CADP-VD/src/config/algs/QPLEX_CADP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/algs/QPLEX_CADP.yaml -------------------------------------------------------------------------------- /CADP-VD/src/config/algs/VDN_CADP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/algs/VDN_CADP.yaml -------------------------------------------------------------------------------- /CADP-VD/src/config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/default.yaml -------------------------------------------------------------------------------- /CADP-VD/src/config/envs/gfootball.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/envs/gfootball.yaml -------------------------------------------------------------------------------- /CADP-VD/src/config/envs/sc2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/config/envs/sc2.yaml -------------------------------------------------------------------------------- /CADP-VD/src/controllers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/controllers/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/controllers/basic_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/controllers/basic_controller.py -------------------------------------------------------------------------------- /CADP-VD/src/controllers/n_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/controllers/n_controller.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/gfootball/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/gfootball/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/gfootball/gfootball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/gfootball/gfootball.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/multiagentenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/multiagentenv.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/10m_vs_11m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/10m_vs_11m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/1c3s5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/1c3s5z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/25m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/25m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/27m_vs_30m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/27m_vs_30m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2c_vs_64zg.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2c_vs_64zg.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2m_vs_1z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2m_vs_1z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2s3z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2s3z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2s_vs_1sc.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/2s_vs_1sc.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s5z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s5z_vs_3s6z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s5z_vs_3s6z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_3z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_3z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_4z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_4z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_5z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/3s_vs_5z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/5m_vs_6m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/5m_vs_6m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/6h_vs_8z.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/6h_vs_8z.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/7sz.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/7sz.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/8m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/8m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/8m_vs_9m.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/8m_vs_9m.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/MMM.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/MMM.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/MMM2.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/MMM2.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/bane_vs_bane.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/bane_vs_bane.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/corridor.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/corridor.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/so_many_baneling.SC2Map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/SMAC_Maps/so_many_baneling.SC2Map -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/maps/smac_maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/maps/smac_maps.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/render.py -------------------------------------------------------------------------------- /CADP-VD/src/envs/starcraft2/starcraft2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/envs/starcraft2/starcraft2.py -------------------------------------------------------------------------------- /CADP-VD/src/learners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/learners/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/learners/q_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/learners/q_learner.py -------------------------------------------------------------------------------- /CADP-VD/src/learners/q_learner_teacher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/learners/q_learner_teacher.py -------------------------------------------------------------------------------- /CADP-VD/src/learners/qplex_learner_teacher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/learners/qplex_learner_teacher.py -------------------------------------------------------------------------------- /CADP-VD/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/main.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-VD/src/modules/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/agents/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/agents/atten_rnn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/agents/atten_rnn_agent.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/agents/rnn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/agents/rnn_agent.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-VD/src/modules/layers/self_atten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/layers/self_atten.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/mixers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CADP-VD/src/modules/mixers/qmix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/mixers/qmix.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/mixers/qplex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/mixers/qplex.py -------------------------------------------------------------------------------- /CADP-VD/src/modules/mixers/vdn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/modules/mixers/vdn.py -------------------------------------------------------------------------------- /CADP-VD/src/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/run.py -------------------------------------------------------------------------------- /CADP-VD/src/runners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/runners/__init__.py -------------------------------------------------------------------------------- /CADP-VD/src/runners/episode_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/runners/episode_runner.py -------------------------------------------------------------------------------- /CADP-VD/src/runners/parallel_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/runners/parallel_runner.py -------------------------------------------------------------------------------- /CADP-VD/src/utils/dict2namedtuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/utils/dict2namedtuple.py -------------------------------------------------------------------------------- /CADP-VD/src/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/utils/logging.py -------------------------------------------------------------------------------- /CADP-VD/src/utils/rl_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/utils/rl_utils.py -------------------------------------------------------------------------------- /CADP-VD/src/utils/th_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/utils/th_utils.py -------------------------------------------------------------------------------- /CADP-VD/src/utils/timehelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/CADP-VD/src/utils/timehelper.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/README.md -------------------------------------------------------------------------------- /exp-gfootball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/exp-gfootball.png -------------------------------------------------------------------------------- /exp-smac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/exp-smac.png -------------------------------------------------------------------------------- /framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/framework.png -------------------------------------------------------------------------------- /introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/introduction.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyh1999/CADP/HEAD/requirements.txt --------------------------------------------------------------------------------