ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

The Extraction process failing on you, and you aren't getting an error back with clear instructions? Tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
mongplea
Posts: 16
Joined: Fri Apr 24, 2020 3:22 pm

ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by mongplea »

How Can I solve it?

Code: Select all

04/24/2020 21:35:15 MainProcess     MainThread      logger          log_setup                 INFO     Log level set to: INFO
04/24/2020 21:35:15 MainProcess     MainThread      launcher        execute_script            DEBUG    Executing: train. PID: 16444
04/24/2020 21:35:18 MainProcess     MainThread      launcher        _test_for_tf_version      DEBUG    Installed Tensorflow Version: 1.14
Traceback (most recent call last):
  File "C:\Users\M\anaconda3\lib\site-packages\keras\backend\__init__.py", line 93, in <module>
    backend_module = importlib.import_module(_BACKEND)
  File "C:\Users\M\anaconda3\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 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plaidml.keras'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\M\faceswap\lib\cli\launcher.py", line 153, in execute_script
    script = self._import_script()
  File "C:\Users\M\faceswap\lib\cli\launcher.py", line 43, in _import_script
    module = import_module(mod)
  File "C:\Users\M\anaconda3\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\scripts\train.py", line 13, in <module>
    from keras.backend.tensorflow_backend import set_session
  File "C:\Users\M\anaconda3\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\Users\M\anaconda3\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


There was an error importing System Information from lib.sysinfo. This is probably a bug which should be fixed:
Traceback (most recent call last):
  File "C:\Users\M\anaconda3\lib\site-packages\keras\backend\__init__.py", line 93, in <module>
    backend_module = importlib.import_module(_BACKEND)
  File "C:\Users\M\anaconda3\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 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plaidml.keras'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\M\faceswap\lib\cli\launcher.py", line 153, in execute_script
    script = self._import_script()
  File "C:\Users\M\faceswap\lib\cli\launcher.py", line 43, in _import_script
    module = import_module(mod)
  File "C:\Users\M\anaconda3\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\scripts\train.py", line 13, in <module>
    from keras.backend.tensorflow_backend import set_session
  File "C:\Users\M\anaconda3\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\Users\M\anaconda3\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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\M\anaconda3\lib\site-packages\keras\backend\__init__.py", line 93, in <module>
    backend_module = importlib.import_module(_BACKEND)
  File "C:\Users\M\anaconda3\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 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plaidml.keras'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\M\faceswap\lib\logger.py", line 178, in crash_log
    from lib.sysinfo import sysinfo  # pylint:disable=import-outside-toplevel
  File "C:\Users\M\faceswap\lib\sysinfo.py", line 14, in <module>
    from lib.gpu_stats import GPUStats
  File "C:\Users\M\faceswap\lib\gpu_stats.py", line 10, in <module>
    K = keras_backend_quiet()
  File "C:\Users\M\faceswap\lib\utils.py", line 183, in keras_backend_quiet
    from keras import backend as K  # pylint:disable=import-outside-toplevel
  File "C:\Users\M\anaconda3\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\Users\M\anaconda3\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
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by torzdf »

You don't have plaidml installed. How did you install Faceswap. What OS? What GPU?

My word is final

User avatar
mongplea
Posts: 16
Joined: Fri Apr 24, 2020 3:22 pm

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by mongplea »

torzdf wrote: Fri Apr 24, 2020 3:39 pm

You don't have plaidml installed. How did you install Faceswap. What OS? What GPU?

Install faceswap_setup_x64
os is win10
GPU is RTX2070 Super

Is there a post I can refer to?

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by torzdf »

It shouldn't be looking for plaidml then.

I suggest you delete your faceswap folder and re-run the installer, making sure you select the "NVIDIA" option when prompted.

My word is final

User avatar
mongplea
Posts: 16
Joined: Fri Apr 24, 2020 3:22 pm

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by mongplea »

torzdf wrote: Fri Apr 24, 2020 3:52 pm

It shouldn't be looking for plaidml then.

I suggest you delete your faceswap folder and re-run the installer, making sure you select the "NVIDIA" option when prompted.

Thank you
But unfortunately

when I reinstall and clicked extract

show this log

04/25/2020 01:08:41 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "C:\Users\M\faceswap\lib\cli\launcher.py", line 153, in execute_script
script = self._import_script()
File "C:\Users\M\faceswap\lib\cli\launcher.py", line 43, in _import_script
module = import_module(mod)
File "C:\Users\M\anaconda3\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\scripts\extract.py", line 10, in <module>
from lib.image import encode_image_with_hash, ImagesLoader, ImagesSaver
File "C:\Users\M\faceswap\lib\image.py", line 14, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by torzdf »

Help > Update Faceswap...

Restart Faceswap

My word is final

User avatar
mongplea
Posts: 16
Joined: Fri Apr 24, 2020 3:22 pm

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by mongplea »

torzdf wrote: Fri Apr 24, 2020 5:58 pm

Help > Update Faceswap...

Restart Faceswap

Thanks
and I have another issue about Train
I recently replaced the GPU.

EGs/sec value is very lower than GTX1070TI

#3,#4 used GTX1070 Ti ~ EGs/sec :130
#5,#6 used RTX2070 super ~ EGs/sec :74

and GPU Load and GPU Men is lower than 50% used

I attached when I click the Train button

Setting Faceswap backend to NVIDIA
04/25/2020 08:56:08 INFO Log level set to: INFO
Using plaidml.keras.backend backend.
04/25/2020 08:56:12 INFO Model A Directory: C:\faceswap_test\test_3\out_extract\out_u
04/25/2020 08:56:12 INFO Model B Directory: C:\faceswap_test\test_3\out_extract\out_s
04/25/2020 08:56:12 INFO Training data directory: C:\faceswap_test\test_3\model\model_6
04/25/2020 08:56:12 INFO ===================================================
04/25/2020 08:56:12 INFO Starting
04/25/2020 08:56:12 INFO Press 'Stop' to save and quit
04/25/2020 08:56:12 INFO ===================================================
04/25/2020 08:56:13 INFO Loading data, this may take a while...
04/25/2020 08:56:13 INFO Loading Model from Original plugin...
04/25/2020 08:56:13 INFO Using configuration saved in state file
INFO:plaidml:Opening device "opencl_nvidia_geforce_rtx_2070_super.0"
04/25/2020 08:56:13 INFO Opening device "opencl_nvidia_geforce_rtx_2070_super.0"
INFO:plaidml:Opening device "opencl_nvidia_geforce_rtx_2070_super.0"
04/25/2020 08:56:14 INFO Opening device "opencl_nvidia_geforce_rtx_2070_super.0"
04/25/2020 08:56:14 INFO Loaded model from disk: 'C:\faceswap_test\test_3\model\model_6'
04/25/2020 08:56:14 INFO Loading Trainer from Original plugin...
04/25/2020 08:56:15 INFO Enabled TensorBoard Logging
INFO:plaidml:Analyzing Ops: 162 of 520 operations complete
04/25/2020 08:56:18 INFO Analyzing Ops: 162 of 520 operations complete
INFO:plaidml:Analyzing Ops: 157 of 520 operations complete
04/25/2020 08:56:22 INFO Analyzing Ops: 157 of 520 operations complete

Attachments
제목 없음1.png
제목 없음1.png (20.18 KiB) Viewed 6104 times
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by torzdf »

The Nvidia library is failing and it's falling back to plaidml. You shouldn't even have plaidml installed, so remove that.

Once done, It'll probably fail, but at least you'll get a reason why.

Also, post output of help > output system info please.

My word is final

User avatar
mongplea
Posts: 16
Joined: Fri Apr 24, 2020 3:22 pm

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by mongplea »

torzdf wrote: Sat Apr 25, 2020 12:42 am

The Nvidia library is failing and it's falling back to plaidml. You shouldn't even have plaidml installed, so remove that.

Once done, It'll probably fail, but at least you'll get a reason why.

Also, post output of help > output system info please.

pip uninstall plaidml
pip uninstall plaidml-keras
pip uninstall plaidbench

Train doesn't work

Loading...
Setting Faceswap backend to NVIDIA
04/25/2020 10:12:55 INFO Log level set to: INFO
04/25/2020 10:13:03 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "C:\Users\M\anaconda3\lib\site-packages\keras\backend\__init.py", line 93, in <module>
backend_module = importlib.import_module(_BACKEND)
File "C:\Users\M\anaconda3\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 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plaidml.keras'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\M\faceswap\lib\cli\launcher.py", line 153, in execute_script
script = self._import_script()
File "C:\Users\M\faceswap\lib\cli\launcher.py", line 43, in _import_script
module = import_module(mod)
File "C:\Users\M\anaconda3\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\scripts\train.py", line 13, in <module>
from keras.backend.tensorflow_backend import set_session
File "C:\Users\M\anaconda3\lib\site-packages\keras\__init
.py", line 3, in <module>
from . import utils
File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\__init.py", line 6, in <module>
from . import conv_utils
File "C:\Users\M\anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
from .. import backend as K
File "C:\Users\M\anaconda3\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/25/2020 10:13:03 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\M\faceswap\crash_report.2020.04.25.101258763918.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting
Process exited.

============ System Information ============
encoding: cp949
git_branch: master
git_commits: cbba53e Core Updates (#1015)
gpu_cuda: No global version found. Check Conda packages for Conda Cuda
gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: GeForce RTX 2070 SUPER
gpu_devices_active: GPU_0
gpu_driver: 445.87
gpu_vram: GPU_0: 8192MB
os_machine: AMD64
os_platform: Windows-10-10.0.18362-SP0
os_release: 10
py_command: faceswap.py gui
py_conda_version: conda 4.8.3
py_implementation: CPython
py_version: 3.7.6
py_virtual_env: False
sys_cores: 16
sys_processor: AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
sys_ram: Total: 16333MB, Available: 6485MB, Used: 9847MB, Free: 6485MB

=============== Pip Packages ===============
absl-py==0.9.0
alabaster==0.7.12
anaconda-client==1.7.2
anaconda-navigator==1.9.12
anaconda-project==0.8.3
argh==0.26.2
asn1crypto==1.3.0
astor==0.8.1
astroid==2.3.3
astropy==4.0
atomicwrites==1.3.0
attrs==19.3.0
autopep8==1.4.4
Babel==2.8.0
backcall==0.1.0
backports.functools-lru-cache==1.6.1
backports.shutil-get-terminal-size==1.0.0
backports.tempfile==1.0
backports.weakref==1.0.post1
bcrypt==3.1.7
beautifulsoup4==4.8.2
bitarray==1.2.1
bkcharts==0.2
bleach==3.1.0
bokeh==1.4.0
boto==2.49.0
Bottleneck==1.3.2
cachetools==4.1.0
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
Click==7.0
cloudpickle==1.3.0
clyent==1.2.2
colorama==0.4.3
comtypes==1.1.7
conda==4.8.3
conda-build==3.18.11
conda-package-handling==1.6.0
conda-verify==3.4.2
contextlib2==0.6.0.post1
cryptography==2.8
cycler==0.10.0
Cython==0.29.15
cytoolz==0.10.1
dask==2.11.0
decorator==4.4.1
defusedxml==0.6.0
diff-match-patch==20181111
distributed==2.11.0
docutils==0.16
entrypoints==0.3
enum34==1.1.10
et-xmlfile==1.0.1
fastcache==1.1.0
fastcluster==1.1.26
ffmpy==0.2.2
filelock==3.0.12
flake8==3.7.9
Flask==1.1.1
fsspec==0.6.2
future==0.18.2
gast==0.2.2
gevent==1.4.0
glob2==0.7
google-auth==1.14.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
greenlet==0.4.15
grpcio==1.28.1
h5py==2.9.0
HeapDict==1.0.1
html5lib==1.0.1
hypothesis==5.5.4
idna==2.8
imageio==2.6.1
imageio-ffmpeg==0.4.1
imagesize==1.2.0
importlib-metadata==1.5.0
intervaltree==3.0.2
ipykernel==5.1.4
ipython==7.12.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
isort==4.3.21
itsdangerous==1.1.0
jdcal==1.4.1
jedi==0.14.1
Jinja2==2.11.1
joblib==0.14.1
json5==0.9.1
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==5.3.4
jupyter-console==6.1.0
jupyter-core==4.6.1
jupyterlab==1.2.6
jupyterlab-server==1.0.6
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
keyring==21.1.0
kiwisolver==1.1.0
lazy-object-proxy==1.4.3
libarchive-c==2.8
llvmlite==0.31.0
locket==0.2.0
lxml==4.5.0
Markdown==3.2.1
MarkupSafe==1.1.1
matplotlib==3.1.1
mccabe==0.6.1
menuinst==1.4.16
mistune==0.8.4
mkl-fft==1.0.15
mkl-random==1.1.0
mkl-service==2.3.0
mock==4.0.1
more-itertools==8.2.0
mpmath==1.1.0
msgpack==0.6.1
multipledispatch==0.6.0
navigator-updater==0.2.1
nbconvert==5.6.1
nbformat==5.0.4
networkx==2.4
nltk==3.4.5
nose==1.3.7
notebook==6.0.3
numba==0.48.0
numexpr==2.7.1
numpy==1.17.4
numpydoc==0.9.2
nvidia-ml-py3==7.352.1
oauthlib==3.1.0
olefile==0.46
opencv-python==4.1.2.30
openpyxl==3.0.3
opt-einsum==3.2.1
packaging==20.1
pandas==1.0.1
pandocfilters==1.4.2
paramiko==2.7.1
parso==0.5.2
partd==1.1.0
path==13.1.0
pathlib==1.0.1
pathlib2==2.3.5
pathtools==0.1.2
patsy==0.5.1
pep8==1.7.1
pexpect==4.8.0
pickleshare==0.7.5
Pillow==6.2.1
pkginfo==1.5.0.1
pluggy==0.13.1
ply==3.11
prometheus-client==0.7.1
prompt-toolkit==3.0.3
protobuf==3.11.3
psutil==5.6.7
py==1.8.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pycosat==0.6.3
pycparser==2.19
pycrypto==2.6.1
pycurl==7.43.0.5
pydocstyle==4.0.1
pyflakes==2.1.1
Pygments==2.5.2
pylint==2.4.4
PyNaCl==1.3.0
pyodbc===4.0.0-unsupported
pyOpenSSL==19.1.0
pyparsing==2.4.6
pyreadline==2.1
pyrsistent==0.15.7
PySocks==1.7.1
pytest==5.3.5
pytest-arraydiff==0.3
pytest-astropy==0.8.0
pytest-astropy-header==0.1.2
pytest-doctestplus==0.5.0
pytest-openfiles==0.4.0
pytest-remotedata==0.3.2
python-dateutil==2.8.1
python-jsonrpc-server==0.3.4
python-language-server==0.31.7
pytz==2019.3
PyWavelets==1.1.1
pywin32==227
pywin32-ctypes==0.2.0
pywinpty==0.5.7
PyYAML==5.3
pyzmq==18.1.1
QDarkStyle==2.8
QtAwesome==0.6.1
qtconsole==4.6.0
QtPy==1.9.0
requests==2.22.0
requests-oauthlib==1.3.0
rope==0.16.0
rsa==4.0
Rtree==0.9.3
ruamel-yaml==0.15.87
scikit-image==0.16.2
scikit-learn==0.22.1
scipy==1.4.1
seaborn==0.10.0
Send2Trash==1.5.0
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.14.0
snowballstemmer==2.0.0
sortedcollections==1.1.2
sortedcontainers==2.1.0
soupsieve==1.9.5
Sphinx==2.4.0
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-websupport==1.2.0
spyder==4.0.1
spyder-kernels==1.8.1
SQLAlchemy==1.3.13
statsmodels==0.11.0
sympy==1.5.1
tables==3.6.1
tblib==1.6.0
tensorboard==1.15.0
tensorflow==1.15.0
tensorflow-estimator==1.15.1
termcolor==1.1.0
terminado==0.8.3
testpath==0.4.4
toolz==0.10.0
toposort==1.5
tornado==6.0.3
tqdm==4.42.1
traitlets==4.3.3
ujson==1.35
unicodecsv==0.14.1
urllib3==1.25.8
watchdog==0.10.2
wcwidth==0.1.8
webencodings==0.5.1
Werkzeug==1.0.0
widgetsnbextension==3.5.1
win-inet-pton==1.1.0
win-unicode-console==0.5
wincertstore==0.2
wrapt==1.11.2
xlrd==1.2.0
XlsxWriter==1.2.7
xlwings==0.17.1
xlwt==1.3.0
xmltodict==0.12.0
yapf==0.28.0
zict==1.0.0
zipp==2.2.0

============== Conda Packages ==============

packages in environment at C:\Users\M\anaconda3:

#

Name Version Build Channel

_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
absl-py 0.9.0 pypi_0 pypi
alabaster 0.7.12 py37_0
anaconda 2020.02 py37_0
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.12 py37_0
anaconda-project 0.8.4 py_0
argh 0.26.2 py37_0
asn1crypto 1.3.0 py37_0
astor 0.8.1 pypi_0 pypi
astroid 2.3.3 py37_0
astropy 4.0 py37he774522_0
atomicwrites 1.3.0 py37_1
attrs 19.3.0 py_0
autopep8 1.4.4 py_0
babel 2.8.0 py_0
backcall 0.1.0 py37_0
backports 1.0 py_2
backports.functools_lru_cache 1.6.1 py_0
backports.shutil_get_terminal_size 1.0.0 py37_2
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py_1
bcrypt 3.1.7 py37he774522_0
beautifulsoup4 4.8.2 py37_0
bitarray 1.2.1 py37he774522_0
bkcharts 0.2 py37_0
blas 1.0 mkl
bleach 3.1.0 py37_0
blosc 1.16.3 h7bd577a_0
bokeh 1.4.0 py37_0
boto 2.49.0 py37_0
bottleneck 1.3.2 py37h2a96729_0
bzip2 1.0.8 he774522_0
ca-certificates 2020.1.1 0
cachetools 4.1.0 pypi_0 pypi
certifi 2019.11.28 py37_0
cffi 1.14.0 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
click 7.0 py37_0
cloudpickle 1.3.0 py_0
clyent 1.2.2 py37_1
colorama 0.4.3 py_0
comtypes 1.1.7 py37_0
conda 4.8.3 py37hc8dfbb8_1 conda-forge
conda-build 3.18.11 py37_0
conda-env 2.6.0 1
conda-package-handling 1.6.0 py37h62dcd97_0
conda-verify 3.4.2 py_1
console_shortcut 0.1.1 4
contextlib2 0.6.0.post1 py_0
cryptography 2.8 py37h7a1dbc1_0
curl 7.68.0 h2a8f88b_0
cycler 0.10.0 py37_0
cython 0.29.15 py37ha925a31_0
cytoolz 0.10.1 py37he774522_0
dask 2.11.0 py_0
dask-core 2.11.0 py_0
decorator 4.4.1 py_0
defusedxml 0.6.0 py_0
diff-match-patch 20181111 py_0
distributed 2.11.0 py37_0
docutils 0.16 py37_0
entrypoints 0.3 py37_0
enum34 1.1.10 pypi_0 pypi
et_xmlfile 1.0.1 py37_0
fastcache 1.1.0 py37he774522_0
fastcluster 1.1.26 py37he350917_0 conda-forge
ffmpeg 4.2 h6538335_0 conda-forge
filelock 3.0.12 py_0
flake8 3.7.9 py37_0
flask 1.1.1 py_0
freetype 2.9.1 ha9979f8_1
fsspec 0.6.2 py_0
future 0.18.2 py37_0
gast 0.2.2 pypi_0 pypi
get_terminal_size 1.0.0 h38e98db_0
gevent 1.4.0 py37he774522_0
glob2 0.7 py_0
google-auth 1.14.1 pypi_0 pypi
google-auth-oauthlib 0.4.1 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
greenlet 0.4.15 py37hfa6e2cd_0
grpcio 1.28.1 pypi_0 pypi
h5py 2.10.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
heapdict 1.0.1 py_0
html5lib 1.0.1 py37_0
hypothesis 5.5.4 py_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
idna 2.8 py37_0
imageio 2.6.1 py37_0
imageio-ffmpeg 0.4.1 py_0 conda-forge
imagesize 1.2.0 py_0
importlib_metadata 1.5.0 py37_0
intel-openmp 2020.0 166
intervaltree 3.0.2 py_0
ipykernel 5.1.4 py37h39e3cac_0
ipython 7.12.0 py37h5ca1d4c_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.5.1 py_0
isort 4.3.21 py37_0
itsdangerous 1.1.0 py37_0
jdcal 1.4.1 py_0
jedi 0.14.1 py37_0
jinja2 2.11.1 py_0
joblib 0.14.1 py_0
jpeg 9b hb83a4c4_2
json5 0.9.1 py_0
jsonschema 3.2.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 5.3.4 py37_0
jupyter_console 6.1.0 py_0
jupyter_core 4.6.1 py37_0
jupyterlab 1.2.6 pyhf63ae98_0
jupyterlab_server 1.0.6 py_0
keras 2.2.4 pypi_0 pypi
keras-applications 1.0.8 pypi_0 pypi
keras-preprocessing 1.1.0 pypi_0 pypi
keyring 21.1.0 py37_0
kiwisolver 1.1.0 py37ha925a31_0
krb5 1.17.1 hc04afaa_0
lazy-object-proxy 1.4.3 py37he774522_0
libarchive 3.3.3 h0643e63_5
libcurl 7.68.0 h2a8f88b_0
libiconv 1.15 h1df5818_7
liblief 0.9.0 ha925a31_2
libpng 1.6.37 h2a8f88b_0
libsodium 1.0.16 h9d3ae62_0
libspatialindex 1.9.3 h33f27b4_0
libssh2 1.8.2 h7a1dbc1_0
libtiff 4.1.0 h56a325e_0
libxml2 2.9.9 h464c3ec_0
libxslt 1.1.33 h579f668_0
llvmlite 0.31.0 py37ha925a31_0
locket 0.2.0 py37_1
lxml 4.5.0 py37h1350720_0
lz4-c 1.8.1.2 h2fa13f4_0
lzo 2.10 h6df0209_2
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markdown 3.2.1 pypi_0 pypi
markupsafe 1.1.1 py37he774522_0
matplotlib 3.1.3 py37_0
matplotlib-base 3.1.3 py37h64f37c6_0
mccabe 0.6.1 py37_1
menuinst 1.4.16 py37he774522_0
mistune 0.8.4 py37he774522_0
mkl 2020.0 166
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.0.15 py37h14836fe_0
mkl_random 1.1.0 py37h675688f_0
mock 4.0.1 py_0
more-itertools 8.2.0 py_0
mpmath 1.1.0 py37_0
msgpack-python 0.6.1 py37h74a9793_1
msys2-conda-epoch 20160418 1
multipledispatch 0.6.0 py37_0
navigator-updater 0.2.1 py37_0
nbconvert 5.6.1 py37_0
nbformat 5.0.4 py_0
networkx 2.4 py_0
nltk 3.4.5 py37_0
nose 1.3.7 py37_2
notebook 6.0.3 py37_0
numba 0.48.0 py37h47e9c7a_0
numexpr 2.7.1 py37h25d0782_0
numpy 1.18.1 py37h93ca92e_0
numpy-base 1.18.1 py37hc3f5095_1
numpydoc 0.9.2 py_0
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 py37_0
openpyxl 3.0.3 py_0
openssl 1.1.1d he774522_4
opt-einsum 3.2.1 pypi_0 pypi
packaging 20.1 py_0
pandas 1.0.1 py37h47e9c7a_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
paramiko 2.7.1 py_0
parso 0.5.2 py_0
partd 1.1.0 py_0
path 13.1.0 py37_0
path.py 12.4.0 0
pathlib 1.0.1 py37_1
pathlib2 2.3.5 py37_0
pathtools 0.1.2 py_1
patsy 0.5.1 py37_0
pep8 1.7.1 py37_0
pexpect 4.8.0 py37_0
pickleshare 0.7.5 py37_0
pillow 7.0.0 py37hcc1f983_0
pip 20.0.2 py37_1
pkginfo 1.5.0.1 py37_0
pluggy 0.13.1 py37_0
ply 3.11 py37_0
powershell_shortcut 0.0.1 3
prometheus_client 0.7.1 py_0
prompt_toolkit 3.0.3 py_0
protobuf 3.11.3 pypi_0 pypi
psutil 5.6.7 py37he774522_0
py 1.8.1 py_0
py-lief 0.9.0 py37ha925a31_2
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycodestyle 2.5.0 py37_0
pycosat 0.6.3 py37he774522_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37hfa6e2cd_9
pycurl 7.43.0.5 py37h7a1dbc1_0
pydocstyle 4.0.1 py_0
pyflakes 2.1.1 py37_0
pygments 2.5.2 py_0
pylint 2.4.4 py37_0
pynacl 1.3.0 py37h62dcd97_0
pyodbc 4.0.30 py37ha925a31_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.6 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pyrsistent 0.15.7 py37he774522_0
pysocks 1.7.1 py37_0
pytables 3.6.1 py37h1da0976_0
pytest 5.3.5 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.8.0 py_0
pytest-astropy-header 0.1.2 py_0
pytest-doctestplus 0.5.0 py_0
pytest-openfiles 0.4.0 py_0
pytest-remotedata 0.3.2 py37_0
python 3.7.6 h60c2a47_2
python-dateutil 2.8.1 py_0
python-jsonrpc-server 0.3.4 py_0
python-language-server 0.31.7 py37_0
python-libarchive-c 2.8 py37_13
python_abi 3.7 1_cp37m conda-forge
pytz 2019.3 py_0
pywavelets 1.1.1 py37he774522_0
pywin32 227 py37he774522_1
pywin32-ctypes 0.2.0 py37_1000
pywinpty 0.5.7 py37_0
pyyaml 5.3 py37he774522_0
pyzmq 18.1.1 py37ha925a31_0
qdarkstyle 2.8 py_0
qt 5.9.7 vc14h73c81de_0
qtawesome 0.6.1 py_0
qtconsole 4.6.0 py_1
qtpy 1.9.0 py_0
requests 2.22.0 py37_1
requests-oauthlib 1.3.0 pypi_0 pypi
rope 0.16.0 py_0
rsa 4.0 pypi_0 pypi
rtree 0.9.3 py37h21ff451_0
ruamel_yaml 0.15.87 py37he774522_0
scikit-image 0.16.2 py37h47e9c7a_0
scikit-learn 0.22.1 py37h6288b17_0
scipy 1.4.1 py37h9439919_0
seaborn 0.10.0 py_0
send2trash 1.5.0 py37_0
setuptools 45.2.0 py37_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h6538335_0
six 1.14.0 py37_0
snappy 1.1.7 h777316e_3
snowballstemmer 2.0.0 py_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soupsieve 1.9.5 py37_0
sphinx 2.4.0 py_0
sphinxcontrib 1.0 py37_1
sphinxcontrib-applehelp 1.0.1 py_0
sphinxcontrib-devhelp 1.0.1 py_0
sphinxcontrib-htmlhelp 1.0.2 py_0
sphinxcontrib-jsmath 1.0.1 py_0
sphinxcontrib-qthelp 1.0.2 py_0
sphinxcontrib-serializinghtml 1.1.3 py_0
sphinxcontrib-websupport 1.2.0 py_0
spyder 4.0.1 py37_0
spyder-kernels 1.8.1 py37_0
sqlalchemy 1.3.13 py37he774522_0
sqlite 3.31.1 he774522_0
statsmodels 0.11.0 py37he774522_0
sympy 1.5.1 py37_0
tbb 2020.0 h74a9793_0
tblib 1.6.0 py_0
tensorboard 1.15.0 pypi_0 pypi
tensorflow 1.15.0 pypi_0 pypi
tensorflow-estimator 1.15.1 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.8.3 py37_0
testpath 0.4.4 py_0
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
toposort 1.5 py_3 conda-forge
tornado 6.0.3 py37he774522_3
tqdm 4.42.1 py_0
traitlets 4.3.3 py37_0
ujson 1.35 py37hfa6e2cd_0
unicodecsv 0.14.1 py37_0
urllib3 1.25.8 py37_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_1
watchdog 0.10.2 py37_0
wcwidth 0.1.8 py_0
webencodings 0.5.1 py37_1
werkzeug 1.0.0 py_0
wheel 0.34.2 py37_0
widgetsnbextension 3.5.1 py37_0
win_inet_pton 1.1.0 py37_0
win_unicode_console 0.5 py37_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
wrapt 1.11.2 py37he774522_0
xlrd 1.2.0 py37_0
xlsxwriter 1.2.7 py_0
xlwings 0.17.1 py37_0
xlwt 1.3.0 py37_0
xmltodict 0.12.0 py_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
yapf 0.28.0 py_0
zeromq 4.3.1 h33f27b4_3
zict 1.0.0 py_0
zipp 2.2.0 py_0
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0

================= Configs ==================
--------- .faceswap ---------
backend: nvidia

--------- convert.ini ---------

[color.color_transfer]
clip: True
preserve_paper: True

[color.manual_balance]
colorspace: HSV
balance_1: 0.0
balance_2: 0.0
balance_3: 0.0
contrast: 0.0
brightness: 0.0

[color.match_hist]
threshold: 99.0

[mask.box_blend]
type: gaussian
distance: 11.0
radius: 5.0
passes: 1

[mask.mask_blend]
type: normalized
kernel_size: 3
passes: 4
threshold: 4
erosion: 0.0

[scaling.sharpen]
method: unsharp_mask
amount: 150
radius: 0.3
threshold: 5.0

[writer.ffmpeg]
container: mp4
codec: libx264
crf: 23
preset: medium
tune: none
profile: auto
level: auto

[writer.gif]
fps: 25
loop: 0
palettesize: 256
subrectangles: False

[writer.opencv]
format: png
draw_transparent: False
jpg_quality: 75
png_compress_level: 3

[writer.pillow]
format: png
draw_transparent: False
optimize: False
gif_interlace: True
jpg_quality: 75
png_compress_level: 3
tif_compression: tiff_deflate

--------- extract.ini ---------

[global]
allow_growth: False

[align.fan]
batch-size: 12

[detect.cv2_dnn]
confidence: 50

[detect.mtcnn]
minsize: 20
threshold_1: 0.6
threshold_2: 0.7
threshold_3: 0.7
scalefactor: 0.709
batch-size: 8

[detect.s3fd]
confidence: 70
batch-size: 4

[mask.unet_dfl]
batch-size: 8

[mask.vgg_clear]
batch-size: 6

[mask.vgg_obstructed]
batch-size: 2

--------- gui.ini ---------

[global]
fullscreen: False
tab: extract
options_panel_width: 30
console_panel_height: 20
icon_size: 14
font: default
font_size: 9
autosave_last_session: prompt
timeout: 120
auto_load_model_stats: True

--------- train.ini ---------

[global]
coverage: 68.75
mask_type: none
mask_blur_kernel: 3
mask_threshold: 4
learn_mask: False
icnr_init: False
conv_aware_init: False
subpixel_upscaling: False
reflect_padding: False
penalized_mask_loss: True
loss_function: mae
learning_rate: 5e-05

[model.dfl_h128]
lowmem: False

[model.dfl_sae]
input_size: 128
clipnorm: True
architecture: df
autoencoder_dims: 0
encoder_dims: 42
decoder_dims: 21
multiscale_decoder: False

[model.dlight]
features: best
details: good
output_size: 256

[model.original]
lowmem: False

[model.realface]
input_size: 64
output_size: 128
dense_nodes: 1536
complexity_encoder: 128
complexity_decoder: 512

[model.unbalanced]
input_size: 128
lowmem: False
clipnorm: True
nodes: 1024
complexity_encoder: 128
complexity_decoder_a: 384
complexity_decoder_b: 512

[model.villain]
lowmem: False

[trainer.original]
preview_images: 14
zoom_amount: 5
rotation_range: 10
shift_range: 5
flip_chance: 50
color_lightness: 30
color_ab: 8
color_clahe_chance: 50
color_clahe_max_size: 4

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Post by torzdf »

Locked due to split topic:

viewtopic.php?f=6&t=605

My word is final

Locked