after i install in win11 cant running the program
after i finish the installion, i try to run it, it just pop up the cmd for 1-2sec, and is close.
are there any solution for this ?
The place to discuss Faceswap and Deepfakes
https://forum.faceswap.dev/
after i finish the installion, i try to run it, it just pop up the cmd for 1-2sec, and is close.
are there any solution for this ?
Go to your Faceswap folder, find the file called something like "faceswap_gui_launcher.bat".
Open the file in notepad, and copy the text.
Open up command prompt and paste the text
Look at what the error is and paste it here.
I got the same question,the installer version is 2.10.0 in windows11 preview(22631.1972)
CMD just flash in about 0.5s.I use OBS record in slow motion
"OSError: exception: access violation reading 0XFFFFFFFFFFFFFFFF"
Setting Faceswap backend to DIRECTML
Traceback (most recent call last):
File "C:\Users\gsj88\faceswap\faceswap.py", line 12, in <module>
from lib.cli import args as cli_args # pylint:disable=wrong-import-position
File "C:\Users\gsj88\faceswap\lib\cli\args.py", line 23, in <module>
GPUS = GPUStats().cli_devices
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 493, in init
super().init(log=log)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\_base.py", line 95, in init
self.initialize()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 549, in initialize
self.devices = self._get_devices()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 532, in get_devices
adapters = Adapters(log_func=self.log)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 319, in init
self.devices = self.process_adapters()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 472, in process_adapters
is_d3d12 = self.test_d3d12(adapter)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 432, in _test_d3d12
success = factory_func(adapter,
OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF
This is DirectML failing, when testing if your GPU is DirectX12 compatible.
Are your GPU drivers up to date? Which GPU are you using?
I have the same issue since the last update.
I'm Using DirectML
CPU Ryzen 3900X
GPU is AMD RX 6900 XT
FYI
I have the same probrem now.
GPU : Radeon 680M integrated in Ryzen 7 7735HS
Using the latest GPU driver(Adrenalin 23.5.2)
I tried on Intel Core-i7 8559U too and the same result.
By the datasheet, both GPUs support DirectX12.
Ok, I will look into this shortly.
_Edit
Removed link to old installer as no longer necessary
Ok, this looks like a breaking change in Python 3.10. I am looking into it, but it is likely to take a while as this code is not... straightforward.
Managed to fix this quicker than I expected.
If you are still on latest version, then the following will pull in the fix:
Start > Anaconda Prompt
Code: Select all
conda activate faceswap
cd faceswap
git pull
Otherwise probably best to just do a clean install with latest installer and it will get pulled in.
https://github.com/deepfakes/faceswap/r ... up_x64.exe
Thanks a lot for quick fix.
I could start gui tool.
torzdf wrote: ↑Thu Jul 06, 2023 10:36 amManaged to fix this quicker than I expected.
If you are still on latest version, then the following will pull in the fix:
Start > Anaconda Prompt
Code: Select all
conda activate faceswap cd faceswap git pull
Otherwise probably best to just do a clean install with latest installer and it will get pulled in.
https://github.com/deepfakes/faceswap/r ... up_x64.exe
Thanks a lot.it works.
But i have a another question.when Extra face,it still works in cpu not gpu,how can i change dml device to gpu
Start a new thread and post this information: