-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathver_instance_imagenav.yaml
More file actions
87 lines (75 loc) · 1.99 KB
/
Copy pathver_instance_imagenav.yaml
File metadata and controls
87 lines (75 loc) · 1.99 KB
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
# @package _global_
defaults:
- /habitat_baselines: habitat_baselines_rl_config_base
- /habitat_baselines/rl/policy/obs_transforms:
- resize
- instance_imagenav_stretch_hm3d
- _self_
habitat:
environment:
iterator_options:
max_scene_repeat_steps: 50000
task:
success_reward: 2.5
slack_reward: -1e-3
simulator:
navmesh_settings:
agent_max_climb: 0.1
cell_height: 0.05
habitat_baselines:
torch_gpu_id: 0
tensorboard_dir: "tb"
video_dir: "video_dir"
test_episode_count: -1
eval_ckpt_path_dir: "data/new_checkpoints"
num_environments: 32
checkpoint_folder: "data/new_checkpoints"
trainer_name: "ver"
num_updates: 270000
log_interval: 10
num_checkpoints: 400
# Force PyTorch to be single threaded as
# this improves performance considerably
force_torch_single_threaded: True
eval:
split: "val"
rl:
policy:
name: "GOATPolicy"
ppo:
# ppo params
clip_param: 0.2
ppo_epoch: 4
num_mini_batch: 2
value_loss_coef: 0.5
entropy_coef: 0.01
lr: 2.5e-4
eps: 1e-5
max_grad_norm: 0.2
num_steps: 64
use_gae: True
gamma: 0.99
tau: 0.95
use_linear_clip_decay: False
use_linear_lr_decay: False
reward_window_size: 50
use_normalized_advantage: False
hidden_size: 512
ddppo:
sync_frac: 0.6
# The PyTorch distributed backend to use
distrib_backend: NCCL
# Visual encoder backbone
pretrained_weights: data/ddppo-models/gibson-2plus-resnet50.pth
# Initialize with pretrained weights
pretrained: False
# Initialize just the visual encoder backbone with pretrained weights
pretrained_encoder: False
# Whether or not the visual encoder backbone will be trained.
train_encoder: False
# Whether or not to reset the critic linear layer
reset_critic: True
# Model parameters
backbone: resnet50_clip_avgpool
rnn_type: LSTM
num_recurrent_layers: 2