-
Notifications
You must be signed in to change notification settings - Fork 4
/
defaults.json
115 lines (115 loc) · 3.01 KB
/
defaults.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"env_id": "",
"models_path": "./ddpg_{env_id}/",
"noise_sigma": 0.0,
"training_config": {
"pretrain_path": "",
"batch_size": 64,
"actor_network": [
400,
300
],
"critic_network": [
400,
300
],
"actor_lr": 0.0001,
"critic_lr": 0.001,
"num_frames": 2000000.0,
"eval_interval": 10000,
"eval_episodes": 20,
"print_frame": 100,
"profile_time": false,
"save_frame": 20000.0,
"gamma": 0.99,
"reward_scaling": 1.0,
"target_network_mix": 0.001,
"show_game": false,
"buffer_params": {
"replay_initial": 10000.0,
"buffer_capacity": 1000000.0
},
"robust_params": {
"enabled": false,
"use_full_backward": false,
"strategy": [
"actor_l2_reg"
],
"strategy_opts": {
"actor_reg": 3.0,
"critic_reg": 0.01,
"sgld_steps": 5,
"adv_ratio": 1.0
},
"advtrain_scheduler": {
"start": "auto",
"end": "auto",
"steps": 500000,
"start_step": 1000000.0
},
"eps_scheduler": {
"start": 0.0,
"end": 0.1,
"steps": 500000.0,
"start_step": 1000000.0
},
"beta_scheduler": {
"start": 1.0,
"end": 0.0,
"steps": "auto",
"start_step": "auto"
}
}
},
"test_config": {
"eval_episodes": 50,
"show_game": false,
"save_frame": false,
"certify": false,
"verbose": false,
"noise_sigma": 0.0,
"attack_params": {
"enabled": false,
"alpha": "auto",
"type": "critic",
"iteration": 10,
"sarsa_action_ratio": 0.5
},
"sarsa_params": {
"num_steps": 30000.0,
"sample_size": 100000.0,
"sarsa_reg": 1.0,
"target_network_mix": 0.01,
"eps_scheduler": {
"start": 0.0,
"end": 0,
"steps": 10000.0,
"start_step": 10000.0
},
"beta_scheduler": {
"start": 1.0,
"end": 0.0,
"steps": 10000.0,
"start_step": 10000.0
},
"action_eps_scheduler": {
"start": 0,
"end": 0.3,
"steps": 10000.0,
"start_step": 10000.0
}
},
"certify_params": {
"enabled": false,
"use_full_backward": false,
"eps": "auto"
}
},
"data_config": {
"method": "none",
"state_space_range": [],
"state_mean": [],
"state_std": []
},
"models": {}
}