Skip to content

Commit 61cab8f

Browse files
author
rfal
committedJun 20, 2022
config files for all experiments
1 parent 1bb3fdf commit 61cab8f

18 files changed

+331
-5
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ carla_data
22
Baselines
33
carle_gym/carle.egg-info
44
__pycache__
5+
scripts

‎config/config_A2C_Town01_mlp.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"base":{
3-
"seed": [0,1,2,3,4],
3+
"seed": [0],
44
"eval_freq": 10000,
55
"num_timesteps": 1000000
66
},

‎config/config_A2C_Town02_mlp.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "A2C",
9+
"discount": 0.99,
10+
"alpha": [8e-05],
11+
"buffer_size": 64
12+
},
13+
"environment":{
14+
"map_name": "Town02",
15+
"data_dir": "carla_data",
16+
"start_state": 16,
17+
"goal_states": [89,90],
18+
"crosswalk_states": [96],
19+
"r_base": 1,
20+
"r_loopback": 0
21+
},
22+
"policy": "MlpPolicy",
23+
"save_dir": "Baselines"
24+
}

‎config/config_A2C_Town03_mlp.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "A2C",
9+
"discount": 0.99,
10+
"alpha": [1e-04],
11+
"buffer_size": 64
12+
},
13+
"environment":{
14+
"map_name": "Town03",
15+
"data_dir": "carla_data",
16+
"start_state": 546,
17+
"goal_states": [641, 642],
18+
"crosswalk_states": [585],
19+
"r_base": 1,
20+
"r_loopback": 0
21+
},
22+
"policy": "MlpPolicy",
23+
"save_dir": "Baselines"
24+
}

‎config/config_DQN_Town01_mlp.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "DQN",
9+
"discount": 0.99,
10+
"alpha": [1e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64
13+
},
14+
"environment":{
15+
"map_name": "Town01",
16+
"data_dir": "carla_data",
17+
"start_state": 209,
18+
"goal_states": [112, 113],
19+
"crosswalk_states": [261],
20+
"r_base": 1,
21+
"r_loopback": 0
22+
},
23+
"policy": "MlpPolicy",
24+
"save_dir": "Baselines"
25+
}

‎config/config_DQN_Town02_mlp.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "DQN",
9+
"discount": 0.99,
10+
"alpha": [5e-06],
11+
"buffer_size": 2048,
12+
"batch_size": 64
13+
},
14+
"environment":{
15+
"map_name": "Town02",
16+
"data_dir": "carla_data",
17+
"start_state": 16,
18+
"goal_states": [89,90],
19+
"crosswalk_states": [96],
20+
"r_base": 1,
21+
"r_loopback": 0
22+
},
23+
"policy": "MlpPolicy",
24+
"save_dir": "Baselines"
25+
}

‎config/config_DQN_Town03_mlp.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "DQN",
9+
"discount": 0.99,
10+
"alpha": [3e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64
13+
},
14+
"environment":{
15+
"map_name": "Town03",
16+
"data_dir": "carla_data",
17+
"start_state": 546,
18+
"goal_states": [641, 642],
19+
"crosswalk_states": [585],
20+
"r_base": 1,
21+
"r_loopback": 0
22+
},
23+
"policy": "MlpPolicy",
24+
"save_dir": "Baselines"
25+
}

‎config/config_PPO_Town01_mlp.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"base":{
3-
"seed": [0,1,2,3,4],
3+
"seed": [0],
44
"eval_freq": 10000,
55
"num_timesteps": 1000000
66
},

‎config/config_PPO_Town02_mlp.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "PPO",
9+
"discount": 0.99,
10+
"alpha": [3e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_epochs":1
14+
},
15+
"environment":{
16+
"map_name": "Town02",
17+
"data_dir": "carla_data",
18+
"start_state": 16,
19+
"goal_states": [89, 90],
20+
"crosswalk_states": [96],
21+
"r_base": 1,
22+
"r_loopback": 0
23+
},
24+
"policy": "MlpPolicy",
25+
"save_dir": "Baselines"
26+
}

‎config/config_PPO_Town03_mlp.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "PPO",
9+
"discount": 0.99,
10+
"alpha": [2e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_epochs":1
14+
},
15+
"environment":{
16+
"map_name": "Town03",
17+
"data_dir": "carla_data",
18+
"start_state": 546,
19+
"goal_states": [641, 642],
20+
"crosswalk_states": [585],
21+
"r_base": 1,
22+
"r_loopback": 0
23+
},
24+
"policy": "MlpPolicy",
25+
"save_dir": "Baselines"
26+
}

‎config/config_QRDQN_Town01_mlp.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "QRDQN",
9+
"discount": 0.99,
10+
"alpha": [6e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_quantiles": 4,
14+
"epsilon": 0.1,
15+
"eps_fraction": 0.02,
16+
"eval_policy": "Greedy"
17+
},
18+
"environment":{
19+
"map_name": "Town01",
20+
"data_dir": "carla_data",
21+
"start_state": 209,
22+
"goal_states": [112, 113],
23+
"crosswalk_states": [261],
24+
"r_base": 1,
25+
"r_loopback": 0
26+
},
27+
"policy": "MlpPolicy",
28+
"save_dir": "Baselines"
29+
}
30+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "QRDQN",
9+
"discount": 0.99,
10+
"alpha": [5e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_quantiles": 4,
14+
"epsilon": 0.1,
15+
"eps_fraction": 0.02,
16+
"eval_policy": "SSD"
17+
},
18+
"environment":{
19+
"map_name": "Town01",
20+
"data_dir": "carla_data",
21+
"start_state": 209,
22+
"goal_states": [112, 113],
23+
"crosswalk_states": [261],
24+
"r_base": 3,
25+
"r_loopback": 18
26+
},
27+
"policy": "CnnPolicy",
28+
"save_dir": "Baselines"
29+
}
30+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 1000000
6+
},
7+
"agent":{
8+
"name": "QRDQN",
9+
"discount": 0.99,
10+
"alpha": [5e-04],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_quantiles": 4,
14+
"epsilon": 0.1,
15+
"eps_fraction": 0.02,
16+
"eval_policy": "Thresholded_SSD"
17+
},
18+
"environment":{
19+
"map_name": "Town01",
20+
"data_dir": "carla_data",
21+
"start_state": 209,
22+
"goal_states": [112, 113],
23+
"crosswalk_states": [261],
24+
"r_base": 3,
25+
"r_loopback": 18
26+
},
27+
"policy": "CnnPolicy",
28+
"save_dir": "Baselines"
29+
}
30+

‎config/config_QRDQN_Town02_mlp.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "QRDQN",
9+
"discount": 0.99,
10+
"alpha": [6e-05],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_quantiles": 4,
14+
"epsilon": 0.1,
15+
"eps_fraction": 0.02,
16+
"eval_policy": "Greedy"
17+
},
18+
"environment":{
19+
"map_name": "Town02",
20+
"data_dir": "carla_data",
21+
"start_state": 16,
22+
"goal_states": [89, 90],
23+
"crosswalk_states": [96],
24+
"r_base": 1,
25+
"r_loopback": 0
26+
},
27+
"policy": "MlpPolicy",
28+
"save_dir": "Baselines"
29+
}
30+

‎config/config_QRDQN_Town02_robust_rl_greedy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"r_loopback": 18
2626
},
2727
"policy": "CnnPolicy",
28-
"save_dir": "Baselines"
28+
"save_dir": "/home/rfal/Stochastic_Road_Network/Baselines"
2929
}
3030

‎config/config_QRDQN_Town02_robust_rl_ssd.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"r_loopback": 18
2626
},
2727
"policy": "CnnPolicy",
28-
"save_dir": "Baselines"
28+
"save_dir": "/home/rfal/Stochastic_Road_Network/Baselines"
2929
}
3030

‎config/config_QRDQN_Town02_robust_rl_thres_ssd.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"r_loopback": 18
2727
},
2828
"policy": "CnnPolicy",
29-
"save_dir": "Baselines"
29+
"save_dir": "/home/rfal/Stochastic_Road_Network/Baselines"
3030
}
3131

‎config/config_QRDQN_Town03_mlp.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"base":{
3+
"seed": [0],
4+
"eval_freq": 10000,
5+
"num_timesteps": 2000000
6+
},
7+
"agent":{
8+
"name": "QRDQN",
9+
"discount": 0.99,
10+
"alpha": [5e-05],
11+
"buffer_size": 2048,
12+
"batch_size": 64,
13+
"n_quantiles": 4,
14+
"epsilon": 0.1,
15+
"eps_fraction": 0.02,
16+
"eval_policy": "Greedy"
17+
},
18+
"environment":{
19+
"map_name": "Town03",
20+
"data_dir": "carla_data",
21+
"start_state": 546,
22+
"goal_states": [641, 642],
23+
"crosswalk_states": [585],
24+
"r_base": 1,
25+
"r_loopback": 0
26+
},
27+
"policy": "MlpPolicy",
28+
"save_dir": "Baselines"
29+
}
30+

0 commit comments

Comments
 (0)
Please sign in to comment.