-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output mesh render is blank #41
Comments
I got the same issue. my opendr version is still 0.77. Finally, I use pymesh2 to load and save mesh data instead of using psbody.mesh. # from psbody.mesh import Mesh
import pymesh
def main(config, template_mesh):
...
if config.save_obj_file:
# mesh = Mesh(v=vertices[0], f=template_mesh.f)
# mesh.write_obj(config.out_folder + '/mesh/' + config.img_path.split('/')[-1][:-4] + '.obj')
mesh = pymesh.form_mesh(vertices[0], template_mesh.faces)
pymesh.save_mesh(config.out_folder + '/mesh/' + config.img_path.split('/')[-1][:-4] + '.obj', mesh)
...
if __name__ == '__main__':
...
template_mesh = pymesh.load_mesh('./flame_model/FLAME_sample.obj')
renderer = vis_util.SMPLRenderer(faces=template_mesh.faces)
... hope this helps. 😃 😃 😃 |
can U send me the pre-trained modle?I can not download it. [email protected] |
can U send me the pre-trained model? I can not download it. My email is [email protected] |
官网注册是可以下载的呀,已发。 |
Hey Xing, I'm also facing the same issue, I tried downloading the Pymesh2 but getting many errors. How did you download it? Python 2.7 |
Hey how did you fix the issue? |
Here is a py2.7 pymesh release,and work for mehttps://github.com/PyMesh/PyMesh/releases |
Hi @highway007 , your reply looks so promising and I do appreciate that. But the link "https://github.com/PyMesh/PyMesh/releases" you provide seems no content anymore. And I also get the problem when installing the pymesh2 with python 2.7. So can I know is there any other way we can overcome this? |
Thanks for your suggestion. It works for me! |
Hi,
Thank you so much for your great work!
I have an issue. When I run the following command:
python -m demo --img_path ./input_images/000001.jpg --out_folder ./RingNet_output --save_obj_file=True
Output file does not show any mesh result in 2D images like below:
On the other hand, it produces the mesh like below:
opendr version is 0.77.
I would like to ask how can I get the predicted (output of the model) vertex coordinates or landmark coordinates (points) of the original 2D input image?
The text was updated successfully, but these errors were encountered: