Switch to unified view

a b/configs/gaitgraph1/gaitgraph1_phase1_Gait3D.yaml
1
data_cfg:
2
  dataset_name: Gait3D
3
  dataset_root: your_path
4
  dataset_partition: ./datasets/Gait3D/Gait3D.json
5
  test_dataset_name: Gait3D
6
  num_workers: 8
7
  remove_no_gallery: false
8
  frame_threshold: 24
9
10
evaluator_cfg:
11
  enable_float16: false
12
  restore_ckpt_strict: true
13
  restore_hint: 20000
14
  save_name: GaitGraph1_phase1
15
  sampler:
16
    batch_size: 256
17
    frames_num_fixed: 130
18
    frames_num_max: 50
19
    frames_num_min: 25
20
    sample_type: fixed_ordered
21
    frames_skip_num: 0
22
  metric: euc
23
  eval_func: evaluate_Gait3D
24
  transform:
25
    - type: Compose
26
      trf_cfg:
27
        - type: SelectSequenceCenter
28
          sequence_length: 24
29
        - type: GaitGraph1Input
30
31
loss_cfg:
32
  - loss_term_weight: 1
33
    temperature: 0.01
34
    type:  SupConLoss_Re
35
    log_prefix: SupConLoss
36
37
model_cfg:
38
  model: GaitGraph1
39
  joint_format: coco
40
  input_num: 1
41
  reduction: 8
42
  block: Bottleneck # Basic, initial
43
  input_branch:
44
    - 3
45
    - 64
46
    - 64
47
    - 32
48
  main_stream:
49
    - 32
50
    - 128
51
    - 128
52
    - 256
53
    - 256
54
  num_class: 128
55
  tta: true
56
57
optimizer_cfg:
58
  lr: 0.01
59
  solver: Adam
60
  weight_decay: 0.00001
61
62
scheduler_cfg:
63
  max_lr: 0.01
64
  total_steps: 20000
65
  scheduler: OneCycleLR
66
67
trainer_cfg:
68
  enable_float16: false
69
  log_iter: 100
70
  with_test: true
71
  restore_ckpt_strict: false
72
  restore_hint: 0
73
  save_iter: 500
74
  save_name: GaitGraph1_phase1
75
  sync_BN: true
76
  total_iter: 20000
77
  sampler:
78
    batch_shuffle: true
79
    frames_num_fixed: 130
80
    frames_num_max: 50
81
    frames_num_min: 25
82
    sample_type: fixed_ordered #Repeat sample
83
    frames_skip_num: 0
84
    batch_size: 128
85
    type: CommonSampler
86
  transform:
87
    - type: TwoView
88
      trf_cfg:
89
        - type: MirrorPoses
90
          probability: 0.5
91
        - type: FlipSequence
92
          probability: 0.5
93
        - type: RandomSelectSequence
94
          sequence_length: 16
95
        - type: PointNoise
96
          std: 0.05
97
        - type: JointNoise
98
          std: 0.1
99
        - type: GaitGraph1Input
100