forked from OliverHxh/GaitPart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
28 lines (28 loc) · 805 Bytes
/
config.py
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
conf = {
"WORK_PATH": "./work",
"CUDA_VISIBLE_DEVICES": "8",
"data": {
'dataset_path': "/mnt/pami14/DATASET/GAIT/GaitAligned/64/CASIA-B/silhouettes/",
'resolution': '64',
'dataset': 'CASIA-B',
# In CASIA-B, data of subject #5 is incomplete.
# Thus, we ignore it in training.
# For more detail, please refer to
# function: utils.data_loader.load_data
'pid_num': 73,
'pid_shuffle': False,
},
"model": {
'hidden_dim': 256,
'lr': 1e-4,
'momentum': 0.9,
'hard_or_full_trip': 'full',
'batch_size': (8, 16),
'restore_iter': 0,
'total_iter': 1000,
'margin': 0.2,
'num_workers': 3,
'frame_num': 30,
'model_name': 'GaitPart',
},
}