AvatarPoser
AvatarPoser copied to clipboard
ValueError: Cannot use face colors with a smooth mesh
Hi,
Thanks for your great work. I wanted to export animation videos and set the boolean save_animation
(line 19) in main_test_avatarposer.py
to True. This creates: ValueError: Cannot use face colors with a smooth mesh
Full output:
/home/christopher/Downloads/AvatarPoser/venv/bin/python /home/christopher/Downloads/AvatarPoser/main_test_avatarposer.py
export CUDA_VISIBLE_DEVICES=0
number of GPUs is: 1
LogHandlers setup!
-------------------------------number of test data is 536
Dataset [AMASS_Dataset - test_dataset] is created.
Initialization method [kaiming_normal + uniform], gain is [0.20]
Training model [ModelAvatarPoser] is created.
Loading model for G [model_zoo/avatarposer.pth] ...
23-02-22 16:12:21.641 : testing the sample 0/536
Traceback (most recent call last):
File "/home/christopher/Downloads/AvatarPoser/main_test_avatarposer.py", line 178, in
Process finished with exit code 1
@ChrisGoettfert I faced this problem as well.
In body_visualizer/mesh/mesh_viewer.py
:
Fix line 88: mesh = pyrender.Mesh.from_trimesh(mesh)
to
mesh = pyrender.Mesh.from_trimesh(mesh, smooth = False)
and it seems to work.