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

请问在SMPL & Rendering中,detectron2和4D-Humans两个项目都放在champ目录下吗? #149

Open
1664062748 opened this issue Jul 28, 2024 · 3 comments
Assignees

Comments

@1664062748
Copy link

我在运行这一步时出现了问题
屏幕截图 2024-07-28 161602
屏幕截图 2024-07-28 161652

@1664062748
Copy link
Author

屏幕截图 2024-07-29 205727
我的detectron2和4D-Humans这两个项目放在了champ目录下,运行报错结果如上

@fransonwu
Copy link

fransonwu commented Jul 30, 2024

我是放在4D-Humans下。 4D-Humans不在champ下,和champ平级。
然后执行命令的时候,到champ下执行(还是在4D-Humans虚拟环境里)。
我试了好久,文档不清楚。 而且代码还有错。你马上会遇到报错。

@HiouKaoru
Copy link

请问你们在python -m scripts.pretrained_models.download --hmr2这一步有没有遇到问题,我执行这步的时候会报错
Traceback (most recent call last):
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/egl.py", line 67, in EGL
return ctypesloader.loadLibrary(
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/ctypesloader.py", line 45, in loadLibrary
return dllType( name, mode )
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: ('EGL: cannot open shared object file: No such file or directory', 'EGL', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "/home/jovyan/champ/scripts/pretrained_models/init.py", line 5, in
from hmr2.models import CACHE_DIR_4DHUMANS
File "/home/jovyan/champ/././4D-Humans/hmr2/models/init.py", line 2, in
from .hmr2 import HMR2
File "/home/jovyan/champ/././4D-Humans/hmr2/models/hmr2.py", line 7, in
from ..utils import SkeletonRenderer, MeshRenderer
File "/home/jovyan/champ/././4D-Humans/hmr2/utils/init.py", line 4, in
from .renderer import Renderer
File "/home/jovyan/champ/././4D-Humans/hmr2/utils/renderer.py", line 6, in
import pyrender
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/pyrender/init.py", line 3, in
from .light import Light, PointLight, DirectionalLight, SpotLight
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/pyrender/light.py", line 10, in
from OpenGL.GL import *
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/GL/init.py", line 3, in
from OpenGL import error as _error
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/error.py", line 12, in
from OpenGL import platform, _configflags
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/init.py", line 35, in
_load()
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/init.py", line 32, in _load
plugin.install(globals())
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/baseplatform.py", line 92, in install
namespace[ name ] = getattr(self,name,None)
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/baseplatform.py", line 14, in get
value = self.fget( obj )
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/egl.py", line 93, in GetCurrentContext
return self.EGL.eglGetCurrentContext
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/baseplatform.py", line 14, in get
value = self.fget( obj )
File "/home/jovyan/.conda/envs/4D-humans/lib/python3.10/site-packages/OpenGL/platform/egl.py", line 73, in EGL
raise ImportError("Unable to load EGL library", *err.args)
ImportError: ('Unable to load EGL library', 'EGL: cannot open shared object file: No such file or directory', 'EGL', None)

我的环境是远程linux ubuntu2204,非root用户

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

4 participants