Hi, I have been trying to install faceswap on a different drive and it had been working good previously. I uninstalled it on the other drive and installed it on the new one. However when I click the gui launcher file the command line opens and then immediately closes and the gui never comes up. I followed all the steps in the FAQ for the gui not launching but it didn't help. I have tried installing for Nvidia GPU and CPU and both had the same issue I would send a log file but I don't know where I would get one. Let me know if you need more information or have a possible fix.
Installing and setting up FaceSwap
Go to the faceswap folder, and look for a file called (something like) gui_win_launcher.bat.
Open the file in notepad and copy the contents.
Open up a command prompt and paste the contents of the file and press enter. You should now be able to see the issue without the window closing.
My word is final
Unfourtantly that doesn't work. It sends out this message and doesn't launch. From my limited understanding it sounds like something wrong with MiniConda but I could be wrong.
"C:\Users\(removed)\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "F:\faceswap/faceswap.py" gui
Setting Faceswap backend to CPU
Traceback (most recent call last):
File "F:\faceswap/faceswap.py", line 6, in <module>
from lib.cli import args as cli_args
File "F:\faceswap\lib\cli\args.py", line 22, in <module>
GPUS = GPUStats().cli_devices
File "F:\faceswap\lib\gpu_stats.py", line 76, in init
File "F:\faceswap\lib\gpu_stats.py", line 204, in initialize
File "F:\faceswap\lib\gpu_stats.py", line 255, in get_handles
self.handles = [pynvml.nvmlDeviceGetHandleByIndex(i)
File "F:\faceswap\lib\gpu_stats.py", line 255, in <listcomp>
self._handles = [pynvml.nvmlDeviceGetHandleByIndex(i)
File "C:\Users\(removed)\MiniConda3\envs\faceswap\lib\site-packages\pynvml.py", line 814, in nvmlDeviceGetHandleByIndex
File "C:\Users\(removed)\MiniConda3\envs\faceswap\lib\site-packages\pynvml.py", line 310, in _nvmlCheckReturn
pynvml.NVMLError_NotSupported: Not Supported
No, that's exactly what we wanted. It tells us why the GUI isn't launching.
What GPU do you have? You GPU is either unsupported or you have a driver/hardware issue.
My word is final