First attempt: Weird learning graph

Want to understand the training process better? Got tips for which model to use and when? This is the place for you


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved with Training a Faceswap model.

If you have found a bug are having issues with the Training process not working, then you should post in the Training Support forum.

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

Locked
User avatar
dococt
Posts: 1
Joined: Sat Nov 14, 2020 9:21 pm

First attempt: Weird learning graph

Post by dococt »

Hello guys!

First, please forgive me if the question is stupid, but I'm a total newbie.

I tried to do my best, I extracted the faces, ordered and cleared all of them
Now, after 295.000 iteration, this is my graph:
Image (https://pasteboard.co/JAnpVUv.png)

I believe all the peaks I have are because my model is not good (I dunno why, I cleaned it as much as I can).

But what I really don't understand is the last part of the graph, where the red graph is not at the bottom anymore...

Any idea about what that means?

Last but now least, suddenly both the "Original > Original" columns and the "Swap > Original" contains just a red filled box in place of the real face.

What is happening? Until some iteration ago I could see the face, even if blurred.

Thank you!

User avatar
torzdf
Posts: 2671
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: First attempt: Weird learning graph

Post by torzdf »

This is model corruption and is, sadly, unrecoverable.

You can try to use the restore tool to restore from the last good backup, or continue training from a previous snapshot.

My word is final

User avatar
wentdot
Posts: 8
Joined: Thu Nov 12, 2020 2:30 pm
Has thanked: 3 times

Re: First attempt: Weird learning graph

Post by wentdot »

torzdf wrote: Mon Nov 16, 2020 11:01 am

This is model corruption and is, sadly, unrecoverable.

You can try to use the restore tool to restore from the last good backup, or continue training from a previous snapshot.

It looks like what happened is the huge fluctuations in the loss function knocked it into some stable local minimum. Is this the correct interpretation?

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: First attempt: Weird learning graph

Post by bryanlyon »

No, the float has gotten "stuck" in a representation of infinity that's used for error states. Local minimums can recover, infinity cannot.

Locked