-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.py
18 lines (15 loc) · 943 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
# dataset path
dataset_root = './datasets'
H36m_coco40k_Muco_UP_Mpii_yaml = os.path.join(dataset_root, "Tax-H36m-coco40k-Muco-UP-Mpii/train.yaml")
H36m_val_p2_yaml = os.path.join(dataset_root, "human3.6m/valid.protocol2.yaml")
PW3D_train_yaml = os.path.join(dataset_root, "3dpw/train.yaml")
PW3D_val_yaml = os.path.join(dataset_root, "3dpw/test_has_gender.yaml")
# meta data path
smpl_mean_params_path = "meta_data/smpl_mean_params.npz"
smpl_neutral = "meta_data/basicModel_neutral_lbs_10_207_0_v1.0.0.pkl"
JOINT_REGRESSOR_H36M_correct = "meta_data/J_regressor_h36m_correct.npy"
JOINT_REGRESSOR_3DPW = "meta_data/J_regressor_3dpw.npy"
hrnet_dict = {'w32': ('pretrained/hrnet/w32_256x256_adam_lr1e-3.yaml', 'pretrained/hrnet/pose_hrnet_w32_256x256.pth', [32, 64, 128, 256]),
'w48': ('pretrained/hrnet/w48_256x192_adam_lr1e-3.yaml', 'pretrained/hrnet/pose_hrnet_w48_256x192.pth', [48, 96, 192, 384]),
}