ICON
ICON copied to clipboard
THuman2.0 have not face texture
I downloaded THuman2.0 from git and try run THuman2.0 with data from mesh_smplx.obj from mesh/0127
I cannot run scripts/render_batch.py because in line vertices, faces, normals, faces_normals, textures, face_textures = load_scan
variable face_textures is empty. Where to get a file with a texture for a sample script?
How to run the script correctly?
$ python scripts/render_batch.py --debug --headless
OMP: Info #273: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
Start Rendering thuman2 with 36 views, 512x512 size.
Output dir: /THuman2/debug/thuman2_36views
Rendering types: ['light', 'normal', 'depth']
finally
Traceback (most recent call last):
File "scripts/render_batch.py", line 284, in <module>
render_subject(
File "scripts/render_batch.py", line 115, in render_subject
rndr.set_mesh(
File "/icon/lib/renderer/gl/prt_render.py", line 158, in set_mesh
self.uv_data[mat_name] = uvs[faces_uvs.reshape([-1])]
IndexError: arrays used as indices must be of integer (or boolean) type