Skip to content
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

about the demo.py #47

Closed
lll-gen opened this issue Oct 23, 2020 · 2 comments
Closed

about the demo.py #47

lll-gen opened this issue Oct 23, 2020 · 2 comments

Comments

@lll-gen
Copy link

lll-gen commented Oct 23, 2020

when i run the python examples/demo.py --model-folder /home/lxz/mygrade2/smplx/smplx/models/ --plot-joints=True --gender="neutral"

something may be wrong:

**python examples/demo.py --model-folder /home/lxz/mygrade2/smplx/smplx/models/ --plot-joints=True --gender="neutral"
SMPLX(
Gender: NEUTRAL
Number of joints: 55
Betas: 10
Number of PCA components: 6
Flat hand mean: False
Number of Expression Coefficients: 10
(vertex_joint_selector): VertexJointSelector()
)
Vertices shape = (10475, 3)
Joints shape = (127, 3)
Traceback (most recent call last):
File "examples/demo.py", line 180, in
use_face_contour=use_face_contour)
File "examples/demo.py", line 80, in main
pyrender.Viewer(scene, use_raymond_lighting=True)
File "/home/lxz/anaconda3/envs/smplx/lib/python3.6/site-packages/pyrender/viewer.py", line 347, in init
self._init_and_start_app()
File "/home/lxz/anaconda3/envs/smplx/lib/python3.6/site-packages/pyrender/viewer.py", line 997, in _init_and_start_app
height=self._viewport_size[1])
File "/home/lxz/anaconda3/envs/smplx/lib/python3.6/site-packages/pyglet/window/xlib/init.py", line 173, in init
super(XlibWindow, self).init(*args, kwargs)
File "/home/lxz/anaconda3/envs/smplx/lib/python3.6/site-packages/pyglet/window/init.py", line 603, in init
config = screen.get_best_config(config)
File "/home/lxz/anaconda3/envs/smplx/lib/python3.6/site-packages/pyglet/canvas/base.py", line 194, in get_best_config
raise window.NoSuchConfigException()
pyglet.window.NoSuchConfigException

@vchoutas
Copy link
Owner

@Lixz123456 Where are you running this? It seems like pyrender is not able to open a window to display the results.

@lll-gen
Copy link
Author

lll-gen commented Oct 29, 2020

on Ubuntu 18.04
python 3.6
cuda 9.0
pyrender 0.1.36

@lll-gen lll-gen closed this as completed Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants