Alignments file does not exist

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
cleyey
Posts: 2
Joined: Thu Aug 20, 2020 10:30 pm

Alignments not found when starting Training

Post 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

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

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

Go to full post
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: Alignments not found when starting Training

Post by bryanlyon »

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

User avatar
cleyey
Posts: 2
Joined: Thu Aug 20, 2020 10:30 pm

Re: Alignments not found when starting Training

Post 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

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

Re: Alignments not found when starting Training

Post 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.

My word is final

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: Alignments not found when starting Training

Post by bryanlyon »

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

User avatar
wongca
Posts: 10
Joined: Thu Aug 20, 2020 9:52 pm
Has thanked: 1 time

Alignments file does not exist

Post 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

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: Alignments file does not exist

Post by bryanlyon »

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

User avatar
Dilshan
Posts: 1
Joined: Sun Oct 04, 2020 8:39 am

Re: Alignments file does not exist

Post 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.

Last edited by Dilshan on Sun Oct 04, 2020 8:51 am, edited 1 time in total.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Alignments file does not exist

Post by torzdf »

Answered literally 1 post above yours.

My word is final

User avatar
huawa123
Posts: 5
Joined: Sun Aug 30, 2020 8:28 am
Has thanked: 1 time

Alignments file does not exist [For Old Dataset]

Post 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.

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: Alignments file does not exist [For Old Dataset]

Post 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.

User avatar
guyu
Posts: 5
Joined: Wed Feb 10, 2021 10:31 am

Can't train

Post 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.

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

Re: Can't train

Post by torzdf »

My word is final

User avatar
guyu
Posts: 5
Joined: Wed Feb 10, 2021 10:31 am

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

Post 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.

User avatar
guyu
Posts: 5
Joined: Wed Feb 10, 2021 10:31 am

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

Post 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.

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

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

Post by torzdf »

Please don't keep reposting the same issue.

This is asked, answered and also covered in the guides

My word is final

Locked