XingangPan / DragGAN

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

error when running sh scripts/gui.sh #322

Open Torment123 opened 1 year ago

Torment123 commented 1 year ago

Hi, I've been trying to run the draggan app on a conda environment of a remote server; after setting up the environment as described in the repo, I executed sh scripts/gui.sh and got this error:

/home/jshen27/anaconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65544) b'X11: Failed to open display :1' warnings.warn(message, GLFWError) /home/jshen27/anaconda3/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 (core dumped)

Could you help me with this issue? Thanks

Harry19s commented 1 year ago

try python visualizer_drag_gradio.py