HELP !! What is the error here ? WHAT HAVE I DONE WRONG ?

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
wongbryn
Posts: 1
Joined: Sun Jul 05, 2020 6:05 am

HELP !! What is the error here ? WHAT HAVE I DONE WRONG ?

Post by wongbryn »

Eveything OK during face extraction, but when come to trainning, this error appears, where is my mistake ?

My Laptop Spec :
AMD Ryzen 7
Nvidia Geforce 1650 GTX
12gb RAM

Following is the error :

Code: Select all

Loading...
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\ACER\anaconda3\envs\faceswap\lib\tkinter\__init__.py", line 1705, in __call__
    return self.func(*args)
  File "C:\Users\ACER\faceswap\lib\gui\display.py", line 108, in update_displaybook
    self.remove_tabs()
  File "C:\Users\ACER\faceswap\lib\gui\display.py", line 101, in remove_tabs
    child_object = self.children[child_name]  # returns the OptionalDisplayPage object
KeyError: '!graphdisplay3'
Setting Faceswap backend to NVIDIA
usage: faceswap.py train [-h] [-C CONFIGFILE] [-L {INFO,VERBOSE,DEBUG,TRACE}]
[-LF LOGFILE] -A INPUT_A [-ala ALIGNMENTS_PATH_A] -B
INPUT_B [-alb ALIGNMENTS_PATH_B] -m MODEL_DIR
[-t {dfaker,dfl-h128,dfl-sae,dlight,iae,lightweight,original,realface,unbalanced,villain}]
[-bs BATCH_SIZE] [-it ITERATIONS] [-g GPUS] [-msg]
[-o] [-pp] [-s SAVE_INTERVAL] [-ss SNAPSHOT_INTERVAL]
[-tia TIMELAPSE_INPUT_A] [-tib TIMELAPSE_INPUT_B]
[-to TIMELAPSE_OUTPUT] [-ps PREVIEW_SCALE] [-p] [-w]
[-ag] [-nl] [-wl] [-nf] [-nac]

Process exited.This command trains the model for the two faces A and B

Thank you very much

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

Re: HELP !! What is the error here ? WHAT HAVE I DONE WRONG ?

Post by torzdf »

You can ignore the first part of the error, that's just a minor GUI display bug.

Can you hit the "Generate" button for Training and post the ouput command here?

Thanks

My word is final

Locked