I was having some problems with faceswap training crashing, so I uninstalled it (and miniconda) and reinstalled it. On reinstall it said there was no NVIDA card, when there definitely is. I uninstalled again and tried to start a training session based on the extraction I had finalised before the reinstall when I got this:
Code: Select all
Loading...
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\dkroker\MiniConda3\envs\faceswap\lib\tkinter\__init__.py", line 1892, in __call__
return self.func(*args)
File "C:\Users\dkroker\faceswap\lib\gui\display.py", line 169, in _update_displaybook
self._command_display(command)
File "C:\Users\dkroker\faceswap\lib\gui\display.py", line 99, in _command_display
build_tabs()
File "C:\Users\dkroker\faceswap\lib\gui\display.py", line 123, in _train_tabs
GraphDisplay(self, "graph", helptext, 5000)
File "C:\Users\dkroker\faceswap\lib\gui\display_command.py", line 207, in __init__
super().__init__(parent, tab_name, helptext, wait_time, command)
File "C:\Users\dkroker\faceswap\lib\gui\display_page.py", line 173, in __init__
DisplayPage.__init__(self, parent, tab_name, helptext)
File "C:\Users\dkroker\faceswap\lib\gui\display_page.py", line 25, in __init__
ttk.Frame.__init__(self, parent)
File "C:\Users\dkroker\MiniConda3\envs\faceswap\lib\tkinter\ttk.py", line 735, in __init__
Widget.__init__(self, master, "ttk::frame", kw)
File "C:\Users\dkroker\MiniConda3\envs\faceswap\lib\tkinter\ttk.py", line 552, in __init__
tkinter.Widget.__init__(self, master, widgetname, kw=kw)
File "C:\Users\dkroker\MiniConda3\envs\faceswap\lib\tkinter\__init__.py", line 2572, in __init__
self.tk.call(
_tkinter.TclError: window name "!graphdisplay2" already exists in parent
Setting Faceswap backend to NVIDIA
08/26/2022 02:35:13 INFO Log level set to: INFO
08/26/2022 02:35:19 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "C:\Users\dkroker\faceswap\lib\cli\launcher.py", line 199, in execute_script
script = self._import_script()
File "C:\Users\dkroker\faceswap\lib\cli\launcher.py", line 51, in _import_script
module = import_module(mod)
File "C:\Users\dkroker\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 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "C:\Users\dkroker\faceswap\scripts\train.py", line 12, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
08/26/2022 02:35:19 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\dkroker\faceswap\crash_report.2022.08.26.023516392566.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting
Process exited.
crash file attached.