''' if __name__ == '__main__': logger = get_logger() #algorithm = 'RNN_AGENT/qmix_beta' #algorithm = 'RNN_AGENT/coma' #algorithm = 'RNN_AGENT/offpg_smac' #algorithm = 'Role_Learning_Agent/rode' # algorithm = 'Role_Learning_Agent/rode_gat' #algorithm = 'Role_Learning_Agent/qmix_smac_latent' # algorithm = 'RNN_AGENT/noisemix_smac' # algorithm = 'RNN_AGENT/noisemix_smac' #algorithm = 'G2ANet_Agent/qmix_beta' algorithm = 'RNN_AGENT/graphmix' minigame = '2s3z' config = cu.config_copy(cu.get_config(algorithm, minigame)) random_Seed = random.randrange(0, 16546) np.random.seed(random_Seed) th.manual_seed(random_Seed) config['env_args']['seed'] = random_Seed is_offpg = config['off_pg'] if is_offpg: offpg_run(config, logger, minigame) else: standard_run(config, logger, minigame)
from run import runing import config_util as cu from utils.logging import get_logger if __name__ == "__main__": #algorithm = 'RNN_AGENT/qmix' algorithm = 'Role_Learning_Agent/rode' game_name = "PredatorPrey" config = cu.config_copy(cu.get_config(algorithm)) logger = get_logger() runing(config, logger, game_name)