-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathconfig.json
70 lines (70 loc) · 2.42 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"attacker_type": 0,
"defender_type": 6,
"env_name": "idsgame-maximal_attack-v9",
"idsgame_config": null,
"initial_state_path": null,
"logger": null,
"mode": 1,
"output_dir": "/media/kim/HDD/workspace/gym-idsgame/experiments/training/v9/maximal_attack/dqn",
"py/object": "gym_idsgame.config.client_config.ClientConfig",
"q_agent_config": {
"alpha": 1e-05,
"attacker": false,
"attacker_load_path": null,
"checkpoint_freq": 5000,
"defender": true,
"defender_load_path": null,
"dqn_config": {
"batch_size": 32,
"gpu": true,
"hidden_activation": "ReLU",
"hidden_dim": 64,
"input_dim": 44,
"loss_fn": "Huber",
"lr_decay_rate": 0.999,
"lr_exp_decay": true,
"num_hidden_layers": 1,
"optimizer": "Adam",
"output_dim": 40,
"py/object": "gym_idsgame.agents.q_learning.dqn.dqn_config.DQNConfig",
"replay_memory_size": 10000,
"replay_start_size": 1000,
"target_network_update_freq": 1000,
"tensorboard": true,
"tensorboard_dir": "/media/kim/HDD/workspace/gym-idsgame/experiments/training/v9/maximal_attack/dqn/results/tensorboard"
},
"epsilon": 1,
"epsilon_decay": 0.9999,
"eval_episodes": 100,
"eval_frequency": 1000,
"eval_log_frequency": 1,
"eval_render": false,
"eval_sleep": 0.9,
"gamma": 0.99,
"gif_dir": "/media/kim/HDD/workspace/gym-idsgame/experiments/training/v9/maximal_attack/dqn/results/gifs",
"gifs": true,
"logger": null,
"min_epsilon": 0.01,
"num_episodes": 20001,
"py/object": "gym_idsgame.agents.q_learning.q_agent_config.QAgentConfig",
"random_seed": 0,
"render": false,
"save_dir": "/media/kim/HDD/workspace/gym-idsgame/experiments/training/v9/maximal_attack/dqn/results/data",
"train_log_frequency": 100,
"video": true,
"video_dir": "/media/kim/HDD/workspace/gym-idsgame/experiments/training/v9/maximal_attack/dqn/results/videos",
"video_fps": 5,
"video_frequency": 101
},
"random_seeds": [
0,
999,
299,
399,
499
],
"run_many": true,
"simulation_config": null,
"title": "AttackMaximalAttacker vs TrainingDQNAgent"
}