DECA icon indicating copy to clipboard operation
DECA copied to clipboard

get full UV

Open Ruinmou opened this issue 3 years ago • 0 comments

How to get full UV coordinates when running python demos/demo_reconstruct.py --saveObj 1 --useTex 1?

Traceback (most recent call last): File "demos/demo_reconstruct.py", line 127, in main(parser.parse_args()) File "demos/demo_reconstruct.py", line 72, in main deca.save_obj(os.path.join(savefolder, name, name + '.obj'), opdict) File "/home/haimou/桌面/project_all/DECA/decalib/deca.py", line 351, in save_obj inverse_face_order=True) File "/home/haimou/桌面/project_all/DECA/decalib/utils/util.py", line 137, in write_obj faces[i, 0], uvfaces[i, 0], IndexError: index 9976 is out of bounds for axis 0 with size 9976

Ruinmou avatar Feb 10 '22 07:02 Ruinmou