-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig_xplan_agent.yaml
64 lines (64 loc) · 1.37 KB
/
config_xplan_agent.yaml
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
entry_point: roach.rl_birdview_agent:RlBirdviewAgent
wb_run_path: null
wb_ckpt_step: null
env_wrapper:
entry_point: roach.utils.rl_birdview_wrapper:RlBirdviewWrapper
kwargs:
input_states:
- control
- vel_xy
acc_as_action: true
policy:
entry_point: roach.models.ppo_policy:PpoPolicy
kwargs:
policy_head_arch:
- 256
- 256
value_head_arch:
- 256
- 256
features_extractor_entry_point: roach.models.torch_layers:XtMaCNN
features_extractor_kwargs:
states_neurons:
- 256
- 256
distribution_entry_point: roach.models.distributions:BetaDistribution
distribution_kwargs:
dist_init: null
training:
entry_point: roach.models.ppo:PPO
kwargs:
learning_rate: 1.0e-05
n_steps_total: 12288
batch_size: 256
n_epochs: 20
gamma: 0.99
gae_lambda: 0.9
clip_range: 0.2
clip_range_vf: null
ent_coef: 0.01
explore_coef: 0.05
vf_coef: 0.5
max_grad_norm: 0.5
target_kl: 0.01
update_adv: false
lr_schedule_step: 8
obs_configs:
birdview:
module: birdview.chauffeurnet
width_in_pixels: 192
pixels_ev_to_bottom: 40
pixels_per_meter: 5.0
history_idx:
- -16
- -11
- -6
- -1
scale_bbox: true
scale_mask_col: 1.0
speed:
module: actor_state.speed
control:
module: actor_state.control
velocity:
module: actor_state.velocity