DragGAN icon indicating copy to clipboard operation
DragGAN copied to clipboard

Mac M1: Invalid operation glGetUniformLocation

Open paullarionov opened this issue 2 years ago • 4 comments

On sh scripts/gui.sh I get this error, all requirements installed successfully:

OpenGL.error.GLError: GLError(
	err = 1282,
	description = b'invalid operation',
	baseOperation = glGetUniformLocation,
	cArguments = (1, b'Texture\x00'),
	result = -1
)

Please help.

paullarionov avatar Nov 25 '23 08:11 paullarionov

Hi @paullarionov Did you solve this issue? I had the same error when running on Ubuntu.

qinliuliuqin avatar Feb 06 '24 21:02 qinliuliuqin

Solution: https://github.com/XingangPan/DragGAN/issues/36

qinliuliuqin avatar Feb 06 '24 22:02 qinliuliuqin

Solution: #36

This does not solve the issue on MAC M1

AlmogDavid avatar Apr 30 '24 11:04 AlmogDavid

I don't know what is the error But instead of executing visualizer_drag.py try python visualizer_drag_gradio.py

Harry19s avatar May 07 '24 13:05 Harry19s