-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GLFWError #35
Comments
are you trying to run this on Google Colab? |
I meet that as well |
I run in colab, also have GLFWError |
This is a GUI program. It is not intended to be run on a headless server environment such as Google Colab. You could modify it to work with notebooks, but interaction would be much slower. EDIT: See e.g. https://github.com/Zeqiang-Lai/DragGAN |
If you want to run draggan on colab, you can try this |
(stylegan3) [root@aigc DragGAN]# ./gui.sh
/root/miniconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:834: GLFWError: (65544) b'X11: The DISPLAY environment variable is missing'
warnings.warn(message, GLFWError)
/root/miniconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:834: GLFWError: (65537) b'The GLFW library is not initialized'
warnings.warn(message, GLFWError)
python: /builds/florianrhiem/pyGLFW/glfw-3.3.4/src/input.c:832: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed.
./gui.sh: line 11: 27555 Aborted python visualizer_drag.py checkpoints/stylegan2_lions_512_pytorch.pkl checkpoints/stylegan2-ffhq-512x512.pkl checkpoints/stylegan2-afhqcat-512x512.pkl checkpoints/stylegan2-car-config-f.pkl checkpoints/stylegan2_dogs_1024_pytorch.pkl checkpoints/stylegan2_horses_256_pytorch.pkl checkpoints/stylegan2-cat-config-f.pkl checkpoints/stylegan2_elephants_512_pytorch.pkl checkpoints/stylegan_human_v2_512.pkl checkpoints/stylegan2-lhq-256x256.pkl
The text was updated successfully, but these errors were encountered: