ZhanxyR / SHERT

[CVPR'24 Oral] Official Pytorch implementation for Semantic Human Mesh Reconstruction with Textures.
https://zhanxy.xyz/projects/shert/
MIT License
75 stars 5 forks source link

Error occurred #6

Closed ForrestPi closed 3 weeks ago

ForrestPi commented 2 months ago

File "/home/code/SHERT/lib/datasets/InpaintEvalDataset.py", line 73, in getitem displacement = projection_length(sns_vertices - smplx_vertices, smplx_normals) ValueError: operands could not be broadcast together with shapes (1051,3) (149921,3)

could you provide some tips?

ZhanxyR commented 2 months ago

Could you provide some more infomation, e.g. are you using the demo data or your own data. All of the 3 vars should have the same shape (149921, 3), pls check which one is wrong.

ForrestPi commented 2 months ago

@ZhanxyR
yeah I just used the demo data.

python -m apps.quick_demo -e image

ZhanxyR commented 2 months ago

Please check the 3 vars (sns_vertices, smplx_vertices, smplx_normals). And check the SNS result in demo_*/results to see if it looks good or weird. Which version of Open3D do you use.

puppy9207 commented 2 months ago

I also had this problem, but I fixed it after reinstalling open3d==0.10.0

pip install open3d==0.10.0