-
Notifications
You must be signed in to change notification settings - Fork 21
/
config.json
60 lines (60 loc) · 2.21 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
{
"attacker_type": 6,
"defender_type": 1,
"env_name": "idsgame-random_defense-v4",
"idsgame_config": null,
"initial_state_path": null,
"logger": null,
"mode": 0,
"output_dir": "/home/kim/storage/workspace/gym-idsgame/experiments/training/v4/random_defense/dqn",
"py/object": "gym_idsgame.config.client_config.ClientConfig",
"q_agent_config": {
"alpha": 1e-05,
"attacker": true,
"checkpoint_freq": 1000,
"defender": false,
"dqn_config": {
"batch_size": 32,
"gpu": true,
"hidden_activation": "ReLU",
"hidden_dim": 64,
"input_dim": 242,
"loss_fn": "Huber",
"lr_decay_rate": 0.9999,
"lr_exp_decay": true,
"num_hidden_layers": 1,
"optimizer": "Adam",
"output_dim": 220,
"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": "/home/kim/storage/workspace/gym-idsgame/experiments/training/v4/random_defense/dqn/tensorboard"
},
"epsilon": 1,
"epsilon_decay": 0.999,
"eval_episodes": 100,
"eval_frequency": 1000,
"eval_log_frequency": 1,
"eval_render": false,
"eval_sleep": 0.9,
"gamma": 0.99,
"gif_dir": "/home/kim/storage/workspace/gym-idsgame/experiments/training/v4/random_defense/dqn/gifs",
"gifs": true,
"load_path": null,
"logger": null,
"min_epsilon": 0.05,
"num_episodes": 10000,
"py/object": "gym_idsgame.agents.q_learning.q_agent_config.QAgentConfig",
"render": false,
"save_dir": "/home/kim/storage/workspace/gym-idsgame/experiments/training/v4/random_defense/dqn/data",
"train_log_frequency": 100,
"video": true,
"video_dir": "/home/kim/storage/workspace/gym-idsgame/experiments/training/v4/random_defense/dqn/videos",
"video_fps": 5,
"video_frequency": 101
},
"simulation_config": null,
"title": "TrainingQAgent vs RandomDefender"
}