-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.py
28 lines (21 loc) · 1.01 KB
/
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
import os.path as osp
SMPL_MODEL_DIR = 'data/smpl'
SMPL_MEAN_PARAMS = 'data/spin_data/smpl_mean_params.npz'
PW3D_ROOT = 'path_to_3dpw'
MPI_INF_3DHP_ROOT = 'path_to_mpi-inf-3dhp'
H36M_ROOT = 'path_to_human36m'
# folder to save processed files
DATASET_NPZ_PATH = 'data/dataset_extras'
PW3D_ANNOT_DIR = osp.join(DATASET_NPZ_PATH, '3dpw_vid')
JOINT_REGRESSOR_TRAIN_EXTRA = 'data/spin_data/J_regressor_extra.npy'
JOINT_REGRESSOR_H36M = 'data/spin_data/J_regressor_h36m.npy'
# Path to test/train npz files
DATASET_FILES = [ {'h36m': osp.join(DATASET_NPZ_PATH, 'h36m_train.npz'),
'mpi-inf-3dhp': osp.join(DATASET_NPZ_PATH, 'mpi_inf_3dhp_test.npz'),
'3dpw': osp.join(DATASET_NPZ_PATH, '3dpw_test.npz'),
},
{'h36m': osp.join(DATASET_NPZ_PATH, 'h36m_train.npz'),
'3dpw': osp.join(DATASET_NPZ_PATH, '3dpw_test.npz'),
'mpi-inf-3dhp': osp.join(DATASET_NPZ_PATH, 'mpi_inf_3dhp_test.npz')
}
]