├── LICENSE ├── README.md ├── clean.sh ├── install_dependencies.sh ├── install_gfootball.sh ├── install_sc2.sh ├── requirements.txt ├── run.sh └── src ├── __init__.py ├── components ├── __init__.py ├── action_selectors.py ├── episode_buffer.py ├── epsilon_schedules.py ├── segment_tree.py └── transforms.py ├── config ├── algs │ └── group.yaml ├── default.yaml └── envs │ ├── academy_3_vs_1_with_keeper.yaml │ ├── academy_counterattack_easy.yaml │ ├── academy_pass_and_shoot_with_keeper.yaml │ ├── sc2.yaml │ └── sc2_beta.yaml ├── controllers ├── __init__.py ├── basic_controller.py └── group_controller.py ├── envs ├── __init__.py ├── gfootball │ ├── FootballEnv.py │ └── __init__.py ├── grf │ ├── __init__.py │ ├── academy_3_vs_1_with_keeper.py │ ├── academy_counterattack_easy.py │ └── academy_pass_and_shoot_with_keeper.py ├── multiagentenv.py └── starcraft │ ├── StarCraft2Env.py │ ├── __init__.py │ └── smac_maps.py ├── learners ├── __init__.py └── group_learner.py ├── main.py ├── modules ├── __init__.py ├── agents │ ├── __init__.py │ └── n_group_agent.py └── mixers │ ├── __init__.py │ └── group.py ├── run ├── __init__.py ├── interval_run.py └── run.py ├── runners ├── __init__.py ├── episode_runner.py └── parallel_runner.py └── utils ├── dict2namedtuple.py ├── logging.py ├── noisy_liner.py ├── rl_utils.py ├── th_utils.py ├── timehelper.py └── value_norm.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/README.md -------------------------------------------------------------------------------- /clean.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/clean.sh -------------------------------------------------------------------------------- /install_dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/install_dependencies.sh -------------------------------------------------------------------------------- /install_gfootball.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/install_gfootball.sh -------------------------------------------------------------------------------- /install_sc2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/install_sc2.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/run.sh -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/action_selectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/components/action_selectors.py -------------------------------------------------------------------------------- /src/components/episode_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/components/episode_buffer.py -------------------------------------------------------------------------------- /src/components/epsilon_schedules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/components/epsilon_schedules.py -------------------------------------------------------------------------------- /src/components/segment_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/components/segment_tree.py -------------------------------------------------------------------------------- /src/components/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/components/transforms.py -------------------------------------------------------------------------------- /src/config/algs/group.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/algs/group.yaml -------------------------------------------------------------------------------- /src/config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/default.yaml -------------------------------------------------------------------------------- /src/config/envs/academy_3_vs_1_with_keeper.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/envs/academy_3_vs_1_with_keeper.yaml -------------------------------------------------------------------------------- /src/config/envs/academy_counterattack_easy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/envs/academy_counterattack_easy.yaml -------------------------------------------------------------------------------- /src/config/envs/academy_pass_and_shoot_with_keeper.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/envs/academy_pass_and_shoot_with_keeper.yaml -------------------------------------------------------------------------------- /src/config/envs/sc2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/envs/sc2.yaml -------------------------------------------------------------------------------- /src/config/envs/sc2_beta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/config/envs/sc2_beta.yaml -------------------------------------------------------------------------------- /src/controllers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/controllers/__init__.py -------------------------------------------------------------------------------- /src/controllers/basic_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/controllers/basic_controller.py -------------------------------------------------------------------------------- /src/controllers/group_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/controllers/group_controller.py -------------------------------------------------------------------------------- /src/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/__init__.py -------------------------------------------------------------------------------- /src/envs/gfootball/FootballEnv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/gfootball/FootballEnv.py -------------------------------------------------------------------------------- /src/envs/gfootball/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/gfootball/__init__.py -------------------------------------------------------------------------------- /src/envs/grf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/grf/__init__.py -------------------------------------------------------------------------------- /src/envs/grf/academy_3_vs_1_with_keeper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/grf/academy_3_vs_1_with_keeper.py -------------------------------------------------------------------------------- /src/envs/grf/academy_counterattack_easy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/grf/academy_counterattack_easy.py -------------------------------------------------------------------------------- /src/envs/grf/academy_pass_and_shoot_with_keeper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/grf/academy_pass_and_shoot_with_keeper.py -------------------------------------------------------------------------------- /src/envs/multiagentenv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/multiagentenv.py -------------------------------------------------------------------------------- /src/envs/starcraft/StarCraft2Env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/starcraft/StarCraft2Env.py -------------------------------------------------------------------------------- /src/envs/starcraft/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/starcraft/__init__.py -------------------------------------------------------------------------------- /src/envs/starcraft/smac_maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/envs/starcraft/smac_maps.py -------------------------------------------------------------------------------- /src/learners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/learners/__init__.py -------------------------------------------------------------------------------- /src/learners/group_learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/learners/group_learner.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/main.py -------------------------------------------------------------------------------- /src/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/modules/agents/__init__.py -------------------------------------------------------------------------------- /src/modules/agents/n_group_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/modules/agents/n_group_agent.py -------------------------------------------------------------------------------- /src/modules/mixers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/mixers/group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/modules/mixers/group.py -------------------------------------------------------------------------------- /src/run/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/run/__init__.py -------------------------------------------------------------------------------- /src/run/interval_run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/run/interval_run.py -------------------------------------------------------------------------------- /src/run/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/run/run.py -------------------------------------------------------------------------------- /src/runners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/runners/__init__.py -------------------------------------------------------------------------------- /src/runners/episode_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/runners/episode_runner.py -------------------------------------------------------------------------------- /src/runners/parallel_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/runners/parallel_runner.py -------------------------------------------------------------------------------- /src/utils/dict2namedtuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/dict2namedtuple.py -------------------------------------------------------------------------------- /src/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/logging.py -------------------------------------------------------------------------------- /src/utils/noisy_liner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/noisy_liner.py -------------------------------------------------------------------------------- /src/utils/rl_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/rl_utils.py -------------------------------------------------------------------------------- /src/utils/th_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/th_utils.py -------------------------------------------------------------------------------- /src/utils/timehelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/timehelper.py -------------------------------------------------------------------------------- /src/utils/value_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyfsjycc/GoMARL/HEAD/src/utils/value_norm.py --------------------------------------------------------------------------------