MarekKowalski/FaceSwap

can I run it on a server without pygame and deskptop?

stupiding opened this issue · 3 comments

I'm new to opengl or pygame. The server is a centos6 which has no desktop installed, and failed to install pygame with many difficulties.

When i comment out the pygame stuffs and run python zad2.py, it just goes wrong and the renderedImg is an all-zero array.

Is there any way that I can run it successfully?

Hi, I am pretty sure that pygame requires desktop. It might be possible to get around this somehow, but I am not an expert on opengl/pygame either, sorry :(

I am also working on a headless version of this. But so far I'm struggling since I'm new to OpenGL & 3D spaces.

pygame.display.set_mode((self.w, self.h), DOUBLEBUF|OPENGL|HIDDEN)
add HIDDEN pygame_window back end run not showing.... deskptop