a b/configs/gaittr/gaittr_OUMVLP.yaml
1
data_cfg:
2
  dataset_name: OUMVLP
3
  dataset_root: your_path
4
  dataset_partition: ./datasets/OUMVLP/OUMVLP.json
5
  num_workers: 1
6
  remove_no_gallery: false
7
  test_dataset_name: OUMVLP
8
  frame_threshold: 0
9
10
evaluator_cfg:
11
  enable_float16: false
12
  restore_ckpt_strict: true
13
  restore_hint: 150000
14
  save_name: GaitTR
15
  eval_func: evaluate_indoor_dataset
16
  sampler:
17
    batch_size: 4 #should same to num_gpus
18
    sample_type: all_ordered
19
    type: InferenceSampler
20
  metric: euc # cos
21
  transform:
22
    - type: Compose
23
      trf_cfg:
24
        - type: GaitTRMultiInput
25
          joint_format: alphapose
26
        - type: SkeletonInput
27
28
loss_cfg:
29
  type: TripletLoss
30
  margin: 0.3
31
  log_prefix: triplet
32
33
model_cfg:
34
  model: GaitTR
35
  in_channels:
36
    - 10
37
    - 64
38
    - 64
39
    - 128
40
    - 256
41
  num_class: 256
42
  joint_format: alphapose
43
44
45
optimizer_cfg:
46
  lr: 0.001
47
  solver: Adam
48
  weight_decay: 0.00002
49
50
scheduler_cfg:
51
  three_phase: True
52
  max_lr: 0.001
53
  div_factor: 100
54
  final_div_factor: 1000.0
55
  total_steps: 150000
56
  pct_start: 0.475 
57
  scheduler: OneCycleLR
58
59
trainer_cfg:
60
  enable_float16: false #not use
61
  log_iter: 100
62
  with_test: true
63
  restore_ckpt_strict: false
64
  restore_hint: 0
65
  save_iter: 5000
66
  save_name: GaitTR
67
  sync_BN: true
68
  total_iter: 150000
69
  sampler:
70
    batch_shuffle: false
71
    batch_size:
72
      - 32
73
      - 16
74
    frames_num_fixed: 60
75
    frames_num_max: 50
76
    frames_num_min: 25
77
    sample_type: fixed_ordered #Repeat sample
78
    frames_skip_num: 0 
79
    type: TripletSampler
80
  transform:
81
    - type: Compose
82
      trf_cfg:
83
        - type: PointNoise
84
          std: 0.3
85
        - type: InversePosesPre
86
          joint_format: alphapose
87
          probability: 0.1
88
        - type: JointNoise
89
          std: 0.3
90
        - type: GaitTRMultiInput
91
          joint_format: alphapose
92
        - type: SkeletonInput