shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
https://shunsukesaito.github.io/PIFu/
Other
1.75k stars 343 forks source link

Data render error #121

Closed yf1019 closed 2 years ago

yf1019 commented 2 years ago

When I run the render_data.py for data preparation. It gives this error. (PiFu) yyyfan@delta-4gpu8-lingsws20:~/PIFu$ python -m apps.render_data -e cp /home/yyyfan/PIFu/rp_dennis_posed_004_OBJ/rp_dennis_posed_004_100k.obj /home/yyyfan/PIFu/rp_dennis_posed_004_OBJ/render_people/GEO/OBJ/rp_dennis_posed_004 0%| | 0/360 [00:00<?, ?it/s]Segmentation fault (core dumped) I found that this is caused by line 332 in lib/render/gl/prt_render.py glDrawArrays(GL_TRIANGLES, 0, int(self.n_vertices[mat])) I test on two machines and it gives the same error. Does anyone met the same error before?

yf1019 commented 2 years ago

Caused by wrong data path