qianlim / SCALE

Official implementation of "SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements", CVPR 2021 https://arxiv.org/abs/2104.07660
https://qianlim.github.io/SCALE
Other
148 stars 12 forks source link

Position Map #12

Closed caiyongqi closed 2 years ago

caiyongqi commented 2 years ago

Hi. I'm having weird issues when I generate the positon map (lib_data/posmap_generator/apps/example.py). When the range of smpl vertices is:

max_xyz: [0.2717181 0.3765816 1.081644 ]
min_xyz: [-0.2728411  -0.40406853 -0.99626523]

I can't get the correct position map. template_mesh_uv_posmap Screenshot from 2022-04-11 12-11-52

qianlim commented 2 years ago

I can't reproduce this on my side. Did you use our provided smpl v template? You can try to check the vertices etc. from this line and try to change them from float32 to float64 (or the other way around).

caiyongqi commented 2 years ago

Thank you! It works with np.float64!

caiyongqi commented 2 years ago

But I don't understand why I get the error using float32?