bb6cd5149a
* fix bug in fix_BN * gaitgl OUMVLP support. * update ./doc/3.advance_usage.md Cross-Dataset Evalution & Data Agumentation * update config * update docs.3 * update docs.3 * add loss doc and gather input decorator * refine the create model doc * support rearrange directory of unzipped OUMVLP * fix some bugs in loss_aggregator.py * refine docs and little fix * add oumvlp pretreatment description * pretreatment dataset fix oumvlp description * add gaitgl oumvlp result * assert gaitgl input size * add pipeline * update the readme. * update pipeline and readme * Corrigendum. * add logo and remove path * update new logo * Update README.md * modify logo size Co-authored-by: 12131100 <12131100@mail.sustech.edu.cn> Co-authored-by: noahshen98 <77523610+noahshen98@users.noreply.github.com> Co-authored-by: Noah <595311942@qq.com>
76 lines
1.2 KiB
YAML
76 lines
1.2 KiB
YAML
data_cfg:
|
|
dataset_name: CASIA-B
|
|
dataset_root: your_path
|
|
num_workers: 1
|
|
remove_no_gallery: false
|
|
test_dataset_name: CASIA-B
|
|
|
|
evaluator_cfg:
|
|
enable_float16: false
|
|
restore_ckpt_strict: true
|
|
restore_hint: 40000
|
|
save_name: GaitSet
|
|
sampler:
|
|
batch_size: 16
|
|
sample_type: all_ordered
|
|
type: InferenceSampler
|
|
metric: euc # cos
|
|
|
|
loss_cfg:
|
|
loss_term_weights: 1.0
|
|
margin: 0.2
|
|
type: TripletLoss
|
|
log_prefix: triplet
|
|
|
|
model_cfg:
|
|
model: GaitSet
|
|
in_channels:
|
|
- 1
|
|
- 32
|
|
- 64
|
|
- 128
|
|
SeparateFCs:
|
|
in_channels: 128
|
|
out_channels: 256
|
|
parts_num: 62
|
|
bin_num:
|
|
- 16
|
|
- 8
|
|
- 4
|
|
- 2
|
|
- 1
|
|
|
|
optimizer_cfg:
|
|
lr: 0.1
|
|
momentum: 0.9
|
|
solver: SGD
|
|
weight_decay: 0.0005
|
|
|
|
scheduler_cfg:
|
|
gamma: 0.1
|
|
milestones:
|
|
- 10000
|
|
- 20000
|
|
- 30000
|
|
scheduler: MultiStepLR
|
|
|
|
trainer_cfg:
|
|
enable_float16: true
|
|
log_iter: 100
|
|
restore_ckpt_strict: true
|
|
restore_hint: 0
|
|
save_iter: 10000
|
|
save_name: GaitSet
|
|
sync_BN: false
|
|
total_iter: 42000
|
|
sampler:
|
|
batch_shuffle: false
|
|
batch_size:
|
|
- 8
|
|
- 16
|
|
frames_num_fixed: 30
|
|
frames_num_max: 50
|
|
frames_num_min: 25
|
|
sample_type: fixed_unordered
|
|
type: TripletSampler
|