XingangPan / DragGAN

Official Code for DragGAN (SIGGRAPH 2023)
https://vcai.mpi-inf.mpg.de/projects/DragGAN/
Other
35.65k stars 3.45k forks source link

Run python visualizer_drag.py in xshell,/usr/local/data/conda-env/conda/envs/stylegan3/lib/python3.9/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'X11: Failed to open display localhost:11.0' warnings.warn(message, GLFWError) /usr/local/data/conda-env/conda/envs/stylegan3/lib/python3.9/site-packages/glfw/__init__.py:916: GLFWError: (65537) b'The GLFW library is not initialized' warnings.warn(message, GLFWError) python: /builds/florianrhiem/pyGLFW/glfw-3.3.8/src/input.c:855: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed. Aborted,求解决办法 #238

Open xuboot opened 1 year ago

xuboot commented 1 year ago

I'm running on a linux server and I'm having this problem, how do I fix it?,/usr/local/data/conda-env/conda/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65544) b'X11: Failed to open display localhost:11.0' warnings.warn(message, GLFWError) /usr/local/data/conda-env/conda/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65537) b'The GLFW library is not initialized' warnings.warn(message, GLFWError) python: /builds/florianrhiem/pyGLFW/glfw-3.3.8/src/input.c:855: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed. Aborted

sevenandseven commented 1 year ago

I encountered the same problem as you. How can I solve it?