Page 1 of 1

Got error when first time training models

Posted: Tue Dec 13, 2022 9:05 am
by JakiroRazor

Hi guys, I have installed Faceswap with cpu version and encountered a problem like this. Then I have reinstalled with GPU version, and still encountered the same problem. Anyone know why this was occure ? I would be appreciated.

Code: Select all

12/13/2022 15:55:32 ERROR    Got Exception on main handler:
Traceback (most recent call last):
  File "D:\faceswap\lib\cli\launcher.py", line 217, in execute_script
    process.process()
  File "D:\faceswap\scripts\train.py", line 217, in process
    err = self._monitor(thread)
  File "D:\faceswap\scripts\train.py", line 475, in _monitor
    if self._check_keypress(keypress):
  File "D:\faceswap\scripts\train.py", line 410, in _check_keypress
    console_key = keypress.getch()
  File "D:\faceswap\lib\keypress.py", line 65, in getch
    return msvcrt.getch().decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 0: unexpected end of data
12/13/2022 15:55:32 CRITICAL An unexpected crash has occurred. Crash report written to 'D:\faceswap\crash_report.2022.12.13.155527559641.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting
Process exited.

Re: Got error when first time training models

Posted: Thu Dec 15, 2022 11:44 am
by torzdf

I have not seen this before....

What language does your windows system use?