Comments (11)
Seems an OpenGL error. Can you try a reinstallation with the instructions here: https://pyrender.readthedocs.io/en/latest/install/index.html#installing-osmesa?
from rsc-net.
Frustratingly, I tried to use OSMesa to reinstallation , but other errors appeared, which seem to be related to pyrender and have not been resolved. mmatl/pyrender#81
when using os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
Traceback (most recent call last):
File "demo.py", line 54, in <module>
img_renderer = Renderer(focal_length=constants.FOCAL_LENGTH, img_res=constants.IMG_RES, faces=smpl_neutral.faces)
File "/home/disk/study/RSC-Net/utils/renderer.py", line 17, in __init__
self.renderer = pyrender.OffscreenRenderer(viewport_width=224,viewport_height=224, point_size=1.0)
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in __init__
self._create()
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/offscreen.py", line 150, in _create
self._platform.make_current()
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/platforms/osmesa.py", line 44, in make_current
self.viewport_width, self.viewport_height
AssertionError
when using os.environ['PYOPENGL_PLATFORM'] = 'egl'
Traceback (most recent call last):
File "demo.py", line 54, in <module>
img_renderer = Renderer(focal_length=constants.FOCAL_LENGTH, img_res=constants.IMG_RES, faces=smpl_neutral.faces)
File "/home/RSC-Net/utils/renderer.py", line 17, in __init__
self.renderer = pyrender.OffscreenRenderer(viewport_width=224,viewport_height=224, point_size=1.0)
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in __init__
self._create()
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/offscreen.py", line 149, in _create
self._platform.init_context()
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 188, in init_context
EGL_NO_CONTEXT, context_attributes
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 409, in __call__
return self( *args, **named )
File "/home/anaconda3/envs/rsc-net/lib/python3.7/site-packages/OpenGL/error.py", line 232, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 12297,
baseOperation = eglCreateContext,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7f15b00b1200>,
<OpenGL._opaque.EGLConfig_pointer object at 0x7f15b00ca8c0>,
<OpenGL._opaque.EGLContext_pointer object at 0x7f15b03379e0>,
<OpenGL.arrays.lists.c_int_Array_7 object at 0x7f15b03604d0>,
),
result = <OpenGL._opaque.EGLContext_pointer object at 0x7f15b00b19e0>
)
from rsc-net.
Hi, I just write a new "demo_nr.py" which does not rely on Pyrender. You can use it in the same way as "demo.py". Let me know if this works for you.
from rsc-net.
It's working now, thank you very much!
from rsc-net.
Hi, I just write a new "demo_nr.py" which does not rely on Pyrender. You can use it in the same way as "demo.py". Let me know if this works for you.
Hi, does nerual_render only support render mesh in image of square size?
from rsc-net.
It's working now, thank you very much!
Hi, do u use neural_render in headless server? Have u succeeded in using pyrender in headless server?
from rsc-net.
Hi, I just write a new "demo_nr.py" which does not rely on Pyrender. You can use it in the same way as "demo.py". Let me know if this works for you.
Hi, does nerual_render only support render mesh in image of square size?
You can check this with the author of neural render.
from rsc-net.
It's working now, thank you very much!
Hi, do u use neural_render in headless server? Have u succeeded in using pyrender in headless server?
Yes, I can run pyrender on my server with OSMesa.
from rsc-net.
It's working now, thank you very much!
Hi, do u use neural_render in headless server? Have u succeeded in using pyrender in headless server?
Yes, I can run pyrender on my server with OSMesa.
I met some problems and really hope u can help me.Can u give me your email address?In this way, we can have further talk.
from rsc-net.
How did you solve this problem? Just saying that it works now does not help others.
from rsc-net.
It's working now, thank you very much!
Hi, do u use neural_render in headless server? Have u succeeded in using pyrender in headless server?
Yes, I can run pyrender on my server with OSMesa.
Hi, could you provide some suggestions on how to run pyrender on headless server with OSMesa? Thanks in advance!
from rsc-net.
Related Issues (13)
- i am having a problem while installing the environment HOT 1
- joints/vertices detected HOT 2
- Training Error
- How many epochs will it take to get results similar to your pretrained model? Also is this Warning while training during epoch 3 expected?
- No module named 'utils.data_loader' HOT 6
- Will you release the training code? HOT 2
- Info on how to run demo.py on a Video HOT 1
- IndexError: list index out of range
- texture network
- eval dataset for human3.6 and MPI-INF-3DHP
- performacne gap HOT 2
- bug in eval.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsc-net.