Faceswap has been installed successfully in my Win10 64bit computer, The installer gives no errors. After executing the batch file, the GUI won't start and directly close.
My Computer is AMD A10-9620P RADEON R5, 10 COMPUTE CORES 4C+6G (4 CPUs), 2.5GHz
Windows 10 Pro 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
Can't Open GUI In AMD Win10
Read the FAQs and search the forum before posting a new topic.
Please mark any answers that fixed your problems so others can find the solutions.
Can't Open GUI In AMD Win10
Re: Can't Open GUI In AMD Win10
Open the batch file faceswap_win_launcher.bat
by going right click Edit
on the file.
Copy the contents of the batch file
Open a command prompt
Paste the contents of the batch file and hit Enter
Paste the error output here.
My word is final
Re: Can't Open GUI In AMD Win10
"C:\Users\Armansyah\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "C:\Users\Armansyah\faceswap/faceswap.py" gui
Setting Faceswap backend to AMD
Traceback (most recent call last):
File "C:\Users\Armansyah\faceswap/faceswap.py", line 5, in <module>
from lib.cli import args
File "C:\Users\Armansyah\faceswap\lib\cli\args.py", line 12, in <module>
from lib.gpu_stats import GPUStats
File "C:\Users\Armansyah\faceswap\lib\gpu_stats.py", line 20, in <module>
import pynvml
ModuleNotFoundError: No module named 'pynvml'
- Attachments
-
- error.PNG (22.29 KiB) Viewed 3415 times
Re: Can't Open GUI In AMD Win10
This one is easy.... Sometimes pynvml doesn't install (usually because of a connection hiccup when it downloads).
Run the following, then try to launch Faceswap again:
Code: Select all
"C:\Users\Armansyah\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "C:\Users\Armansyah\faceswap/update_deps.py"
My word is final
Re: Can't Open GUI In AMD Win10
Thankyou for your response but I receive error message as the attachment below.
Code: Select all
C:\Users\Armansyah>"C:\Users\Armansyah\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "C:\Users\Armansyah\faceswap/faceswap.py" gui
Setting Faceswap backend to AMD
Traceback (most recent call last):
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\__init__.py", line 154, in load_library
return ctypes.cdll.LoadLibrary(libpath)
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\ctypes\__init__.py", line 459, in LoadLibrary
return self._dlltype(name)
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\ctypes\__init__.py", line 381, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\plaidml.dll' (or one of its dependencies). Try using the full path with constructor syntax.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Armansyah\faceswap/faceswap.py", line 5, in <module>
from lib.cli import args
File "C:\Users\Armansyah\faceswap\lib\cli\args.py", line 21, in <module>
_GPUS = GPUStats().cli_devices
File "C:\Users\Armansyah\faceswap\lib\gpu_stats.py", line 76, in __init__
self._initialize(log)
File "C:\Users\Armansyah\faceswap\lib\gpu_stats.py", line 164, in _initialize
self._plaid = plaidlib(log_level=loglevel, log=log)
File "C:\Users\Armansyah\faceswap\lib\plaidml_tools.py", line 48, in __init__
self._ctx = plaidml.Context()
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\__init__.py", line 892, in Context
return plaidml.context.Context(_lib())
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\__init__.py", line 789, in _lib
_impl_lib = _Library()
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\__init__.py", line 176, in __init__
lib = load_library('plaidml.dll', ['Library', 'bin'])
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\site-packages\plaidml\__init__.py", line 166, in load_library
return ctypes.cdll.LoadLibrary(libpath)
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\ctypes\__init__.py", line 459, in LoadLibrary
return self._dlltype(name)
File "C:\Users\Armansyah\MiniConda3\envs\faceswap\lib\ctypes\__init__.py", line 381, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\Armansyah\MiniConda3\envs\faceswap\Library\bin\plaidml.dll' (or one of its dependencies). Try using the full path with constructor syntax.
- Attachments
-
- error2.PNG (77.7 KiB) Viewed 3367 times
Re: Can't Open GUI In AMD Win10
At this point it looks like you have conflicts on your machine.
Do this:
app.php/faqpage#f1r1
My word is final