Faceswap won't start

Installing and setting up FaceSwap


Forum rules

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.

Locked
User avatar
temporay
Posts: 2
Joined: Fri Dec 13, 2019 5:39 pm

Faceswap won't start

Post by temporay »

Hi, I've just installed Faceswap in Windows 10 with the installer but the faceswap won't start.
I've tried uninstalling MiniConda, deleting the faceswap folder, and reinstalling but the problem persists.
Can you help me?

Code: Select all

Here's the error log:
12/14/2019 00:29:08 MainProcess     MainThread      logger          log_setup                 INFO     Log level set to: INFO
12/14/2019 00:29:08 MainProcess     MainThread      cli             execute_script            DEBUG    Executing: gui. PID: 14656
12/14/2019 00:29:10 MainProcess     MainThread      cli             test_for_tf_version       DEBUG    Installed Tensorflow Version: 1.15
Traceback (most recent call last):
  File "C:\Users\willi\faceswap\lib\cli.py", line 127, in execute_script
    script = self.import_script()
  File "C:\Users\willi\faceswap\lib\cli.py", line 41, in import_script
    module = import_module(mod)
  File "C:\Users\willi\MiniConda3\envs\faceswap\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\willi\faceswap\scripts\gui.py", line 9, in <module>
    from lib.gui import (TaskBar, CliOptions, CommandNotebook, ConsoleOut, Session, DisplayNotebook,
  File "C:\Users\willi\faceswap\lib\gui\__init__.py", line 3, in <module>
    from lib.gui.display import DisplayNotebook
  File "C:\Users\willi\faceswap\lib\gui\display.py", line 11, in <module>
    from .display_analysis import Analysis
  File "C:\Users\willi\faceswap\lib\gui\display_analysis.py", line 11, in <module>
    from .display_graph import SessionGraph
  File "C:\Users\willi\faceswap\lib\gui\display_graph.py", line 13, in <module>
    matplotlib.use("TkAgg")
AttributeError: module 'matplotlib' has no attribute 'use'

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         c1e6080 Training: Cleaner loss printing
gpu_cuda:            8.0
gpu_cudnn:           7.0.5
gpu_devices:         GPU_0: GeForce GTX 1070
gpu_devices_active:  GPU_0
gpu_driver:          441.66
gpu_vram:            GPU_0: 8192MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.17763-SP0
os_release:          10
py_command:          C:\Users\willi\faceswap/faceswap.py gui
py_conda_version:    conda 4.8.0
py_implementation:   CPython
py_version:          3.7.5
py_virtual_env:      True
sys_cores:           12
sys_processor:       AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
sys_ram:             Total: 16316MB, Available: 11720MB, Used: 4596MB, Free: 11720MB
User avatar
torzdf
Posts: 2681
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 133 times
Been thanked: 625 times

Re: Faceswap won't start

Post by torzdf »

Uninstall your system install Cuda and cuDNN and reboot.

Hopefully this will be enough.

My word is final

User avatar
temporay
Posts: 2
Joined: Fri Dec 13, 2019 5:39 pm

Re: Faceswap won't start

Post by temporay »

torzdf wrote: Fri Dec 13, 2019 11:33 pm

Uninstall your system install Cuda and cuDNN and reboot.

Hopefully this will be enough.

I've also done that, removed all nvidia and python components on my pc.
I guess I'll try manual installation.

Thanks

Locked