DFNRMVS icon indicating copy to clipboard operation
DFNRMVS copied to clipboard

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

Open leeooo001 opened this issue 4 years ago • 1 comments

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)

leeooo001 avatar Nov 15 '20 18:11 leeooo001

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.

zqbai-jeremy avatar Nov 25 '20 08:11 zqbai-jeremy