zqbai-jeremy / DFNRMVS

Source code for CVPR 2020 paper "Deep Facial Non-Rigid Multi-View Stereo"
GNU General Public License v3.0
167 stars 26 forks source link

Buffer has wrong number of dimensions (expected 2, got 3) #7

Open leeooo001 opened 3 years ago

leeooo001 commented 3 years ago

File "y:\python\human\face\DFNRMVS\data\BFM\utils.py", line 347, in get_pixel_vert_idx_and_weights depth_buffer, triangle_buffer, barycentric_weight = mesh.render.rasterize_triangles(vertices, triangles, h, w) File "y:\python\human\face\DFNRMVS\external\face3d\face3d\mesh\render.py", line 50, in rasterize_triangles h, w) File "mesh_core_cython.pyx", line 49, in mesh_core_cython.rasterize_triangles_core ValueError: Buffer has wrong number of dimensions (expected 2, got 3)

zqbai-jeremy commented 3 years ago

Sorry for my late reply. You can try this repo (https://github.com/zqbai-jeremy/face3d), which has minor modifications comparing to the original one from YadiraF/face3d.