shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"

Home Page:https://shunsukesaito.github.io/PIFu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data render error

yf1019 opened this issue · comments

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?

Caused by wrong data path