-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanup initial commit * added smac_v2 support * added all 3 initial --------- Co-authored-by: Denys Makoviichuk <[email protected]>
- Loading branch information
Showing
72 changed files
with
830 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
env: sc2wrapped | ||
|
||
env_args: | ||
continuing_episode: False | ||
difficulty: "7" | ||
game_version: null | ||
map_name: "10gen_protoss" | ||
move_amount: 2 | ||
obs_all_health: True | ||
obs_instead_of_state: False | ||
obs_last_action: False | ||
obs_own_health: True | ||
obs_pathing_grid: False | ||
obs_terrain_height: False | ||
obs_timestep_number: False | ||
reward_death_value: 10 | ||
reward_defeat: 0 | ||
reward_negative_scale: 0.5 | ||
reward_only_positive: True | ||
reward_scale: True | ||
reward_scale_rate: 20 | ||
reward_sparse: False | ||
reward_win: 200 | ||
replay_dir: "" | ||
replay_prefix: "" | ||
conic_fov: False | ||
use_unit_ranges: True | ||
min_attack_range: 2 | ||
obs_own_pos: True | ||
num_fov_actions: 12 | ||
capability_config: | ||
n_units: 5 | ||
n_enemies: 5 | ||
team_gen: | ||
dist_type: "weighted_teams" | ||
unit_types: | ||
- "stalker" | ||
- "zealot" | ||
- "colossus" | ||
weights: | ||
- 0.45 | ||
- 0.45 | ||
- 0.1 | ||
observe: True | ||
start_positions: | ||
dist_type: "surrounded_and_reflect" | ||
p: 0.5 | ||
map_x: 32 | ||
map_y: 32 | ||
|
||
# enemy_mask: | ||
# dist_type: "mask" | ||
# mask_probability: 0.5 | ||
# n_enemies: 5 | ||
state_last_action: True | ||
state_timestep_number: False | ||
step_mul: 8 | ||
heuristic_ai: False | ||
# heuristic_rest: False | ||
debug: False | ||
prob_obs_enemy: 1.0 | ||
action_mask: True | ||
|
||
test_nepisode: 32 | ||
test_interval: 10000 | ||
log_interval: 2000 | ||
runner_log_interval: 2000 | ||
learner_log_interval: 2000 | ||
t_max: 10050000 |
70 changes: 70 additions & 0 deletions
70
rl_games/configs/smac/v2/env_configs/sc2_gen_protoss_epo.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
env: sc2wrapped | ||
|
||
env_args: | ||
continuing_episode: False | ||
difficulty: "7" | ||
game_version: null | ||
map_name: "10gen_protoss" | ||
move_amount: 2 | ||
obs_all_health: True | ||
obs_instead_of_state: False | ||
obs_last_action: False | ||
obs_own_health: True | ||
obs_pathing_grid: False | ||
obs_terrain_height: False | ||
obs_timestep_number: False | ||
reward_death_value: 10 | ||
reward_defeat: 0 | ||
reward_negative_scale: 0.5 | ||
reward_only_positive: True | ||
reward_scale: True | ||
reward_scale_rate: 20 | ||
reward_sparse: False | ||
reward_win: 200 | ||
replay_dir: "" | ||
replay_prefix: "" | ||
conic_fov: False | ||
use_unit_ranges: True | ||
min_attack_range: 2 | ||
obs_own_pos: True | ||
num_fov_actions: 12 | ||
capability_config: | ||
n_units: 5 | ||
n_enemies: 5 | ||
team_gen: | ||
dist_type: "weighted_teams" | ||
unit_types: | ||
- "stalker" | ||
- "zealot" | ||
- "colossus" | ||
weights: | ||
- 0.45 | ||
- 0.45 | ||
- 0.1 | ||
observe: True | ||
start_positions: | ||
dist_type: "surrounded_and_reflect" | ||
p: 0.5 | ||
map_x: 32 | ||
map_y: 32 | ||
|
||
# enemy_mask: | ||
# dist_type: "mask" | ||
# mask_probability: 0.5 | ||
# n_enemies: 5 | ||
state_last_action: True | ||
state_timestep_number: False | ||
step_mul: 8 | ||
heuristic_ai: False | ||
# heuristic_rest: False | ||
debug: False | ||
# Most severe partial obs setting: | ||
prob_obs_enemy: 0.0 | ||
action_mask: False | ||
|
||
test_nepisode: 32 | ||
test_interval: 10000 | ||
log_interval: 2000 | ||
runner_log_interval: 2000 | ||
learner_log_interval: 2000 | ||
t_max: 10050000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
env: sc2wrapped | ||
|
||
env_args: | ||
continuing_episode: False | ||
difficulty: "7" | ||
game_version: null | ||
map_name: "10gen_terran" | ||
move_amount: 2 | ||
obs_all_health: True | ||
obs_instead_of_state: False | ||
obs_last_action: False | ||
obs_own_health: True | ||
obs_pathing_grid: False | ||
obs_terrain_height: False | ||
obs_timestep_number: False | ||
reward_death_value: 10 | ||
reward_defeat: 0 | ||
reward_negative_scale: 0.5 | ||
reward_only_positive: True | ||
reward_scale: True | ||
reward_scale_rate: 20 | ||
reward_sparse: False | ||
reward_win: 200 | ||
replay_dir: "" | ||
replay_prefix: "" | ||
conic_fov: False | ||
obs_own_pos: True | ||
use_unit_ranges: True | ||
min_attack_range: 2 | ||
num_fov_actions: 12 | ||
capability_config: | ||
n_units: 5 | ||
n_enemies: 5 | ||
team_gen: | ||
dist_type: "weighted_teams" | ||
unit_types: | ||
- "marine" | ||
- "marauder" | ||
- "medivac" | ||
weights: | ||
- 0.45 | ||
- 0.45 | ||
- 0.1 | ||
exception_unit_types: | ||
- "medivac" | ||
observe: True | ||
|
||
start_positions: | ||
dist_type: "surrounded_and_reflect" | ||
p: 0.5 | ||
map_x: 32 | ||
map_y: 32 | ||
# enemy_mask: | ||
# dist_type: "mask" | ||
# mask_probability: 0.5 | ||
# n_enemies: 5 | ||
state_last_action: True | ||
state_timestep_number: False | ||
step_mul: 8 | ||
heuristic_ai: False | ||
# heuristic_rest: False | ||
debug: False | ||
prob_obs_enemy: 1.0 | ||
action_mask: True | ||
|
||
test_nepisode: 32 | ||
test_interval: 10000 | ||
log_interval: 2000 | ||
runner_log_interval: 2000 | ||
learner_log_interval: 2000 | ||
t_max: 10050000 |
Oops, something went wrong.