I deleted and reinstalled the face swap several times. However, due to the plaidml error below, extract and train are not possible.
I am using RTX2070 super and did not install Plaidml because I chose NVIDIA GPU when installing facewap.
I followed the steps below.
https://github.com/deepfakes/faceswap/b ... INSTALL.md
show that
I didn't not install Plaidml
Code: Select all
(base) C:\Users\M\faceswap>pip uninstall plaidml
WARNING: Skipping plaidml as it is not installed.
I wonder if it's the problem with my Cuda and CudNN version.
I attached output system information log....
Code: Select all
Loading...
Setting Faceswap backend to NVIDIA
04/26/2020 18:20:28 INFO Log level set to: INFO
04/26/2020 18:20:31 INFO Output Directory: C:\faceswap_test\test_3\out_extract\test
04/26/2020 18:20:31 INFO Loading Detect from S3Fd plugin...
04/26/2020 18:20:34 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "C:\Users\M\MiniConda3\lib\site-packages\keras\backend\__init__.py", line 93, in <module>
backend_module = importlib.import_module(_BACKEND)
File "C:\Users\M\MiniConda3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plaidml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\M\faceswap\lib\cli\launcher.py", line 154, in execute_script
process = script(arguments)
File "C:\Users\M\faceswap\scripts\extract.py", line 63, in __init__
normalize_method=normalization)
File "C:\Users\M\faceswap\plugins\extract\pipeline.py", line 92, in __init__
self._detect = self._load_detect(detector, rotate_images, min_size, configfile)
File "C:\Users\M\faceswap\plugins\extract\pipeline.py", line 520, in _load_detect
detector = PluginLoader.get_detector(detector_name)(rotation=rotation,
File "C:\Users\M\faceswap\plugins\plugin_loader.py", line 40, in get_detector
return PluginLoader._import("extract.detect", name, disable_logging)
File "C:\Users\M\faceswap\plugins\plugin_loader.py", line 163, in _import
module = import_module(mod)
File "C:\Users\M\MiniConda3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\M\faceswap\plugins\extract\detect\s3fd.py", line 11, in <module>
import keras
File "C:\Users\M\MiniConda3\lib\site-packages\keras\__init__.py", line 3, in <module>
from . import utils
File "C:\Users\M\MiniConda3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
from . import conv_utils
File "C:\Users\M\MiniConda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
from .. import backend as K
File "C:\Users\M\MiniConda3\lib\site-packages\keras\backend\__init__.py", line 108, in <module>
raise ValueError('Unable to import backend : ' + str(_BACKEND))
ValueError: Unable to import backend : plaidml.keras.backend
04/26/2020 18:20:34 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\M\faceswap\crash_report.2020.04.26.182031781921.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting
and when I run python setup.py
show that log
Code: Select all
Enable CUDA? [Y/n] y
INFO CUDA Enabled
INFO Skipping Cuda/cuDNN checks for Conda install
[b]INFO 1. Install PIP requirements
You may want to execute `chcp 65001` in cmd line
to fix Unicode issues on Windows when installing dependencies
INFO Faceswap config written to: C:\Users\M\faceswap\config\.faceswap[/b]
Please ensure your System Dependencies are met. Continue? [y/N] y
INFO Installing Required Python Packages. This may take some time...
INFO Installing git+https://github.com/deepfakes/nvidia-ml-py3.git
INFO All python3 dependencies are met.
You are good to go.
Enter: 'python faceswap.py -h' to see the options
'python faceswap.py gui' to launch the GUI
Is that the problem?