File size: 1,136 Bytes
9a5d909
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: handmvnet
base_output_dir: ./outputs/debug
data:
  name: dexycb
  batch_size: 2
  dataset_dir: data/dexycb
  mask_size: 32
  depth_size: 32
  heatmap_size: 32
  image_size: 256
  mano_models_dir: src/mano
  num_workers: 6
  augment: true
  pad_image: true
model:
  selected_views:
  - 0
  - 1
  - 2
  - 3
  - 4
  - 5
  - 6
  - 7
  fusion: cross_attn  # cross_attn, cross_attn_learnable_query
  fusion_layers: 5
  pos_enc:
  - pos2d
  - crop
  - sin 
  use_gcn: true
  backbone: "resnet"
  backbone_type: "50_paper"  # 18, 34, 50_paper
  backbone_early_return: 3
  backbone_channels: # output
  - 1024
  backbone_pretrained: true
train:
  debug: false
  vis_every_n_epochs: 10
  epochs: 100
  accumulate_batch: 2
  gpus: 2
  mask_invisible_joints: true
  root_relative: true
  loss_weights:
    heatmap: 10.
    joints_2d: 1.
    joints_3d: 1000
    g2d: 1.  # loss b/w backprojected predicted 3d joints and groundtruth 2d joints
    p2d: 0.5  # loss b/w backprojected predicted 3d joints and predicted 2d joints
  lr: 0.0001
  lr_scheduler:
    gamma: 0.75
    milestones:
    - 20
    - 40
    - 60
    - 80
  weight_decay: 0.05