QhelDIV / ShapeFormer

Official repository for the ShapeFormer Project
https://shapeformer.github.io/
190 stars 22 forks source link

Error encountered during mesh sampling #21

Open dqj5182 opened 1 month ago

dqj5182 commented 1 month ago

I got an error "Error encountered during mesh sampling" after running python -m shapeformer.trainer --opts configs/demo/demo_vqdif.yaml --gpu 0 --mode "run"

The problem seem to stem from the code in here.

After debugging, it seemed that the number of outputs of "igl.random_points_on_mesh(sampleN, vert, face)" is three, not two. May I ask how to solve this problem?

HochCC commented 3 weeks ago

I got an error "Error encountered during mesh sampling" after running python -m shapeformer.trainer --opts configs/demo/demo_vqdif.yaml --gpu 0 --mode "run"

The problem seem to stem from the code in here.

After debugging, it seemed that the number of outputs of "igl.random_points_on_mesh(sampleN, vert, face)" is three, not two. May I ask how to solve this problem?

I also meet this error in libigl-2.5.1, sovling it by degrading to libigl-2.4.1