Download utils/config.py from Tri1/t2m-gpt-vsl-code: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/Tri1/t2m-gpt-vsl-code/resolve/main/utils/config.py
- Command line
-
hf download hf://Tri1/t2m-gpt-vsl-code/utils/config.py
-
curl -L -o config.py https://huggingface.co/Tri1/t2m-gpt-vsl-code/resolve/main/utils/config.py
446 Bytes
| import os | |
| SMPL_DATA_PATH = "./body_models/smpl" | |
| SMPL_KINTREE_PATH = os.path.join(SMPL_DATA_PATH, "kintree_table.pkl") | |
| SMPL_MODEL_PATH = os.path.join(SMPL_DATA_PATH, "SMPL_NEUTRAL.pkl") | |
| JOINT_REGRESSOR_TRAIN_EXTRA = os.path.join(SMPL_DATA_PATH, 'J_regressor_extra.npy') | |
| ROT_CONVENTION_TO_ROT_NUMBER = { | |
| 'legacy': 23, | |
| 'no_hands': 21, | |
| 'full_hands': 51, | |
| 'mitten_hands': 33, | |
| } | |
| GENDERS = ['neutral', 'male', 'female'] | |
| NUM_BETAS = 10 |