Got error when first time training models

If training is failing to start, and you are not receiving an error message telling you what to do, 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 Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

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

Locked
User avatar
JakiroRazor
Posts: 1
Joined: Tue Dec 13, 2022 8:58 am

Got error when first time training models

Post 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.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: Got error when first time training models

Post by torzdf »

I have not seen this before....

What language does your windows system use?

My word is final

Locked