|
a |
|
b/configs/gaitset/gaitset_gait3d_parsing.yaml |
|
|
1 |
data_cfg: |
|
|
2 |
dataset_name: Gait3D-Parsing |
|
|
3 |
dataset_root: your_path |
|
|
4 |
dataset_partition: ./datasets/Gait3D/Gait3D.json # Uses the same Gait3D.json as Gait3D dataset |
|
|
5 |
num_workers: 1 |
|
|
6 |
remove_no_gallery: false |
|
|
7 |
test_dataset_name: Gait3D-Parsing |
|
|
8 |
|
|
|
9 |
evaluator_cfg: |
|
|
10 |
enable_float16: false |
|
|
11 |
restore_ckpt_strict: true |
|
|
12 |
restore_hint: 180000 |
|
|
13 |
save_name: GaitSet |
|
|
14 |
eval_func: evaluate_Gait3D |
|
|
15 |
metric: cos |
|
|
16 |
sampler: |
|
|
17 |
batch_size: 16 |
|
|
18 |
sample_type: all_ordered |
|
|
19 |
type: InferenceSampler |
|
|
20 |
transform: |
|
|
21 |
- type: BaseParsingCuttingTransform |
|
|
22 |
|
|
|
23 |
loss_cfg: |
|
|
24 |
loss_term_weight: 1.0 |
|
|
25 |
margin: 0.2 |
|
|
26 |
type: TripletLoss |
|
|
27 |
log_prefix: triplet |
|
|
28 |
|
|
|
29 |
model_cfg: |
|
|
30 |
model: GaitSet |
|
|
31 |
in_channels: |
|
|
32 |
- 1 |
|
|
33 |
- 32 |
|
|
34 |
- 64 |
|
|
35 |
- 128 |
|
|
36 |
SeparateFCs: |
|
|
37 |
in_channels: 128 |
|
|
38 |
out_channels: 256 |
|
|
39 |
parts_num: 62 |
|
|
40 |
bin_num: |
|
|
41 |
- 16 |
|
|
42 |
- 8 |
|
|
43 |
- 4 |
|
|
44 |
- 2 |
|
|
45 |
- 1 |
|
|
46 |
|
|
|
47 |
optimizer_cfg: |
|
|
48 |
lr: 0.001 |
|
|
49 |
momentum: 0.9 |
|
|
50 |
solver: Adam |
|
|
51 |
weight_decay: 0.0005 |
|
|
52 |
|
|
|
53 |
scheduler_cfg: |
|
|
54 |
gamma: 0.1 |
|
|
55 |
milestones: |
|
|
56 |
- 30000 |
|
|
57 |
- 90000 |
|
|
58 |
scheduler: MultiStepLR |
|
|
59 |
|
|
|
60 |
trainer_cfg: |
|
|
61 |
enable_float16: true |
|
|
62 |
log_iter: 100 |
|
|
63 |
with_test: false |
|
|
64 |
restore_ckpt_strict: true |
|
|
65 |
restore_hint: 0 |
|
|
66 |
save_iter: 30000 |
|
|
67 |
save_name: GaitSet |
|
|
68 |
sync_BN: false |
|
|
69 |
total_iter: 180000 |
|
|
70 |
sampler: |
|
|
71 |
batch_shuffle: false |
|
|
72 |
batch_size: |
|
|
73 |
- 32 |
|
|
74 |
- 4 |
|
|
75 |
frames_num_fixed: 30 |
|
|
76 |
frames_num_max: 50 |
|
|
77 |
frames_num_min: 25 |
|
|
78 |
sample_type: fixed_unordered |
|
|
79 |
type: TripletSampler |
|
|
80 |
transform: |
|
|
81 |
- type: BaseParsingCuttingTransform |