torzdf wrote: ↑Tue Mar 19, 2024 4:04 pm
You're going to need to be a lot more specific about the steps you have taken to get to this point.
Most likely you have missed some crucial steps, have bad data, have a low res model or have not trained enough.
Hi!
This is the process I've done:
First, I extracted the faces from the movie scenes. then I copied the faces to another folder (girl face b movie) and took the other actor's faces from the first folder to put them on another one (boy face b movie). I previously did the same with the faces from the series (girl a series and boy a series.) Now I'm training with those folders ("girl face a series" folder: input a and "girl face b movie" folder: input b). I used the original trainer with bach size as 16 and 100000 interations, no folders for the timelapse, and no augments chosen.
This is what appeared in the text:
Code: Select all
Loading...
Setting Faceswap backend to CPU
03/19/2024 21:36:32 INFO Log level set to: INFO
03/19/2024 21:36:42 INFO Model A Directory: 'E:\asoe\vio face a se' (733 images)
03/19/2024 21:36:42 INFO Model B Directory: 'E:\asoe\viole face b movie' (510 images)
03/19/2024 21:36:42 INFO Training data directory: E:\asoe\modelviomotose
03/19/2024 21:36:42 INFO ===================================================
03/19/2024 21:36:42 INFO Starting
03/19/2024 21:36:42 INFO ===================================================
03/19/2024 21:36:42 INFO Loading data, this may take a while...
03/19/2024 21:36:42 INFO Loading Model from Original plugin...
03/19/2024 21:36:43 INFO No existing state file found. Generating.
03/19/2024 21:36:43 INFO Storing Mixed Precision compatible layers. Please ignore any following warnings about using mixed precision.
03/19/2024 21:36:43 WARNING Mixed precision compatibility check (mixed_float16): WARNING
The dtype policy mixed_float16 may run slowly because this machine does not have a GPU. Only Nvidia GPUs with compute capability of at least 7.0 run quickly with mixed_float16.
If you will use compatible GPU(s) not attached to this host, e.g. by running a multi-worker model, you can ignore this warning. This message will only be logged once
03/19/2024 21:36:45 INFO Loading Trainer from Original plugin...
03/19/2024 21:37:07 INFO [Saved model] - Average loss since last save: face_a: 0.28607, face_b: 0.39576
03/19/2024 21:37:14 INFO [Preview Updated]
In training settings I have this:
Code: Select all
centering: face
coverage: 87.5
optimizer: adam
learning rate: 5e-5
epsilon exponent: -7
save optimizer: exit
Lr finder interations: 1000
Lr finder mode: set
Lr finder strenght: default
Network: nan protection
Convert batchsize: 16
And I have extended mask in mask type.
The problem is that the program sometimes reports unexpected crashes or it reports "Caught exception in thread: '_training'" several times. I got other report about the image size, something about an exception in file 325, too. I tried eliminating the images with big faces, blurry faces and faces with obstructions, but I keep getting the same reports. Also, I can see the faces I get are always blurry and dark with less than little details.