|
from easydict import EasyDict |
|
|
|
league_test_config = dict( |
|
league=dict( |
|
|
|
import_names=['ding.league'], |
|
|
|
player_category=['zerg', 'terran', 'protoss'], |
|
active_players=dict( |
|
main_player=1, |
|
main_exploiter=1, |
|
league_exploiter=2, |
|
), |
|
main_player=dict( |
|
branch_probs=dict( |
|
pfsp=0.5, |
|
sp=0.35, |
|
verification=0.15, |
|
), |
|
strong_win_rate=0.7, |
|
one_phase_step=2000, |
|
), |
|
main_exploiter=dict( |
|
branch_probs=dict(main_players=1.0, ), |
|
strong_win_rate=0.7, |
|
one_phase_step=2000, |
|
min_valid_win_rate=0.2, |
|
), |
|
league_exploiter=dict( |
|
branch_probs=dict(pfsp=1.0, ), |
|
strong_win_rate=0.7, |
|
one_phase_step=2000, |
|
mutate_prob=0.25, |
|
), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use_pretrain=True, |
|
use_pretrain_init_historical=True, |
|
pretrain_checkpoint_path=dict( |
|
zerg='pretrain_checkpoint_zerg.pth', |
|
terran='pretrain_checkpoint_terran.pth', |
|
protoss='pretrain_checkpoint_protoss.pth', |
|
), |
|
|
|
payoff=dict( |
|
type='battle', |
|
decay=0.99, |
|
min_win_rate_games=8, |
|
), |
|
), |
|
) |
|
league_test_config = EasyDict(league_test_config) |
|
|