EvelynFan / FaceFormer

[CVPR 2022] FaceFormer: Speech-Driven 3D Facial Animation with Transformers
MIT License
778 stars 133 forks source link

pyrender: Failed rendering frame #31

Open mumukawayi opened 2 years ago

mumukawayi commented 2 years ago

I have successfully ran the training code based on vocaset. But both for the visualization and the demo's rendering, it keep telling me that the failed rendering frame while running the outscreenrenderer function in render.py. I have checked those earlier issues that mentioned similar output, but none of them make effect at my case. Even I updated pyopengl to 3.1.4, I still get the failed rendering frame feedback. Could anybody give me some other idea about this? I guess maybe it is a problem caused by bad osmesa installation, but with a centos machine I don't know how to successfully install osmesa without using apt-get.

AstitvaSri commented 1 year ago

Install a compatible version of pyopengl inside your conda environment. pip uninstall pyopengl git clone --recursive https://github.com/mmatl/pyopengl.git pip install ./pyopengl

MYTHOFLEGEND commented 1 year ago

I got the same error, then I reinstalled pyopengl==3.1.6, it worked, my pyrender version is 0.1.45. Or you can set os.environ['PYOPENGL_PLATFORM'] = 'egl'