Page 1 of 1

Alignments not found when starting Training

Posted: Thu Aug 20, 2020 10:40 pm
by cleyey

When i got to start the training all i get is the following lines

Loading...
Setting Faceswap backend to NVIDIA
08/20/2020 16:29:24 INFO Log level set to: INFO
08/20/2020 16:29:37 INFO Model A Directory: C:\Users\Clay\faceswap\Projects\Dame Da Ne memem
08/20/2020 16:29:37 INFO Model B Directory: C:\Users\Clay\faceswap\Projects\Jace
08/20/2020 16:29:37 INFO Training data directory: C:\Users\Clay\faceswap\Projects
08/20/2020 16:29:37 INFO ===================================================
08/20/2020 16:29:37 INFO Starting
08/20/2020 16:29:37 INFO Using live preview
08/20/2020 16:29:37 INFO Press 'Stop' to save and quit
08/20/2020 16:29:37 INFO ===================================================
08/20/2020 16:29:38 INFO Loading data, this may take a while...
08/20/2020 16:29:38 INFO Loading Model from Lightweight plugin...
08/20/2020 16:29:38 INFO No existing state file found. Generating.
08/20/2020 16:29:41 INFO Loading Trainer from Original plugin...
08/20/2020 16:29:42 CRITICAL Error caught! Exiting...
08/20/2020 16:29:42 ERROR Caught exception in thread: '_training_0'
08/20/2020 16:29:42 ERROR Alignments file does not exist: C:\Users\Clay\faceswap\Projects\Dame Da Ne memem\alignments.fsa
Process exited.

I've looked around for the files and I cant find where they have gone.
what im doing is 1. extracting the faces from my 2 videos. 2. Im then taking those extracted faces and putting them into the trainer but it wont find any alignment files


Re: Alignments not found when starting Training

Posted: Thu Aug 20, 2020 11:16 pm
by bryanlyon

Your alignments file is by default put alongside the original extracted video. Check there for the .fsa file.


Re: Alignments not found when starting Training

Posted: Fri Aug 21, 2020 2:26 am
by cleyey
bryanlyon wrote: Thu Aug 20, 2020 11:16 pm

Your alignments file is by default put alongside the original extracted video. Check there for the .fsa file.

I looked everywhere along side and inside the folder its not there thats why im so confused


Re: Alignments not found when starting Training

Posted: Fri Aug 21, 2020 8:53 am
by torzdf

Well, it is. You wouldn't have extracted faces otherwise.

If you just want to get training, and don't care about having the alignments file available, go into model settings and turn off "penalized mask loss".

It is recommended not to disable this option though, but up to you.


Re: Alignments not found when starting Training

Posted: Fri Aug 21, 2020 2:49 pm
by bryanlyon

Another option is to simply re-extract and this time specify exactly where you want the fsa file saved.


Alignments file does not exist

Posted: Sun Sep 13, 2020 3:31 am
by wongca

09/13/2020 13:20:22 CRITICAL Error caught! Exiting...
09/13/2020 13:20:22 ERROR Caught exception in thread: '_training_0'
09/13/2020 13:20:22 ERROR Alignments file does not exist: J:\AVJW\SF24\alignments.fsa

hi all, i used to be able to train face a and b without alignments file. however after the new update , i cannot fix this as i have tried to untick the penalized mask loss and none in mask type.

does anyone know how to do it without alignments? or how to fix it?

Thanks


Re: Alignments file does not exist

Posted: Mon Sep 14, 2020 5:15 pm
by bryanlyon

You have to include alignments. This is no longer optional.


Re: Alignments file does not exist

Posted: Sun Oct 04, 2020 8:50 am
by Dilshan

How to fix this error

Loading...
Setting Faceswap backend to NVIDIA
10/04/2020 13:46:54 INFO Log level set to: INFO
10/04/2020 13:46:57 INFO Model A Directory: C:\Users\dilsh\Desktop\face to face\face 1
10/04/2020 13:46:57 INFO Model B Directory: C:\Users\dilsh\Desktop\face to face\face 2
10/04/2020 13:46:57 INFO Training data directory: C:\Users\dilsh\Desktop\face to face\model dir
10/04/2020 13:46:57 INFO ===================================================
10/04/2020 13:46:57 INFO Starting
10/04/2020 13:46:57 INFO Press 'Stop' to save and quit
10/04/2020 13:46:57 INFO ===================================================
10/04/2020 13:46:58 INFO Loading data, this may take a while...
10/04/2020 13:46:58 INFO Loading Model from Original plugin...
10/04/2020 13:46:58 INFO No existing state file found. Generating.
10/04/2020 13:46:59 INFO Loading Trainer from Original plugin...

10/04/2020 13:47:00 CRITICAL Error caught! Exiting...
10/04/2020 13:47:00 ERROR Caught exception in thread: '_training_0'
10/04/2020 13:47:00 ERROR Alignments file does not exist: C:\Users\dilsh\Desktop\face to face\face 1\alignments.fsa

Process exited.


Re: Alignments file does not exist

Posted: Sun Oct 04, 2020 10:18 am
by torzdf

Answered literally 1 post above yours.


Alignments file does not exist [For Old Dataset]

Posted: Fri Jan 15, 2021 7:48 am
by huawa123

I extracted "input B" faces from multiple sources as the training dataset in previous faceswap version. So the Input B training dataset doesn't have a alignment file.

After updating to the latest version. I kept getting "Alignments file does not exist" error. After untick the "penalized mask loss" and put mouth and eye multiplier to 1, the problem is still not fixed.

Is there a way to solve this problem? Thank you very much.


Re: Alignments file does not exist [For Old Dataset]

Posted: Fri Jan 15, 2021 5:29 pm
by bryanlyon

All training requires an alignment file. This is not optional under any settings anymore. I'm afraid you're going to have to re-extract.


Can't train

Posted: Thu Feb 11, 2021 3:15 am
by guyu

02/11/2021 11:07:52 INFO Loading Model from Original plugin...
02/11/2021 11:07:52 INFO No existing state file found. Generating.
02/11/2021 11:07:53 INFO Loading Trainer from Original plugin...
02/11/2021 11:07:54 CRITICAL Error caught! Exiting...
02/11/2021 11:07:54 ERROR Caught exception in thread: '_training_0'
02/11/2021 11:07:54 ERROR Alignments file does not exist: E:\facss\1\alignments.fsa
Process exited.


Re: Can't train

Posted: Thu Feb 11, 2021 9:52 am
by torzdf

Repeatedly extract the successful and repeated training error cycle to spend a week,

Posted: Fri Feb 12, 2021 5:13 am
by guyu

Loading...
Setting Faceswap backend to NVIDIA
02/12/2021 12:46:11 INFO Log level set to: INFO
02/12/2021 12:46:12 INFO Model A Directory: E:\facss\1
02/12/2021 12:46:12 INFO Model B Directory: E:\facss\2
02/12/2021 12:46:12 INFO Training data directory: E:\facss\3
02/12/2021 12:46:12 INFO ===================================================
02/12/2021 12:46:12 INFO Starting
02/12/2021 12:46:12 INFO Press 'Stop' to save and quit
02/12/2021 12:46:12 INFO ===================================================
02/12/2021 12:46:13 INFO Loading data, this may take a while...
02/12/2021 12:46:13 INFO Loading Model from Original plugin...
02/12/2021 12:46:13 INFO No existing state file found. Generating.
02/12/2021 12:46:14 INFO Loading Trainer from Original plugin...
02/12/2021 12:46:15 CRITICAL Error caught! Exiting...
02/12/2021 12:46:15 ERROR Caught exception in thread: '_training_0'
02/12/2021 12:46:15 ERROR Alignments file does not exist: E:\facss\1\alignments.fsa
Process exited.
I’m a rookie, and I haven’t found a solution in all forums. I have been stuck in training for a week after following the instructions.I also tried to find a solution in the forum where I had the same difficulty. Now it seems that I, a rookie, did not find a solution.


Re: Repeatedly extract the successful and repeated training error cycle to spend a week,

Posted: Fri Feb 12, 2021 8:07 am
by guyu

Ask for help
2/12/2021 16:03:33 INFO Calculating Convolution Aware Initializer for shape: (5, 5, 64, 3)
02/12/2021 16:03:33 INFO Loading Trainer from Original plugin...
02/12/2021 16:03:33 ERROR Caught exception in thread: '_training_0'
02/12/2021 16:03:33 ERROR Alignments file does not exist: E:\facss\5\alignments.fsa
Process exited.


Re: Repeatedly extract the successful and repeated training error cycle to spend a week,

Posted: Fri Feb 12, 2021 9:59 am
by torzdf

Please don't keep reposting the same issue.

This is asked, answered and also covered in the guides