"Alignments file does not exist:" Project tries to access a file that is not defined.

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
Flimsy Fox
Posts: 5
Joined: Fri Aug 28, 2020 1:04 am
Been thanked: 1 time

"Alignments file does not exist:" Project tries to access a file that is not defined.

Post by Flimsy Fox »

While trying to resolve another issue, I updated my Faceswap install, and got the error below. The alignments file is set to the correct directory, but the project tries to access another directory instead.

Since no crash report was issued, I'll post the full log instead:

Code: Select all

Loading...
Setting Faceswap backend to AMD
08/31/2020 19:54:37 INFO     Log level set to: INFO
08/31/2020 19:54:37 INFO     Setting up for PlaidML
08/31/2020 19:54:37 INFO     Using GPU(s): ['Advanced Micro Devices, Inc. - gfx900 (experimental)', 'Advanced Micro Devices, Inc. - gfx900 (supported)']
08/31/2020 19:54:37 INFO     Successfully set up for PlaidML
08/31/2020 19:54:39 INFO     Model A Directory: E:\Machine Learning Projects\Dame Da Nae Rexouium\Dame Da Ne Input Set High Res
08/31/2020 19:54:39 INFO     Model B Directory: E:\Machine Learning Projects\Dame Da Nae Rexouium\Rexouium Input Set High Res
08/31/2020 19:54:39 INFO     Training data directory: E:\Machine Learning Projects\Dame Da Nae Rexouium\Training Data
08/31/2020 19:54:39 INFO     ===================================================
08/31/2020 19:54:39 INFO       Starting
08/31/2020 19:54:39 INFO       Press 'Stop' to save and quit
08/31/2020 19:54:39 INFO     ===================================================
08/31/2020 19:54:40 INFO     Loading data, this may take a while...
08/31/2020 19:54:40 INFO     Loading Model from Unbalanced plugin...
Using plaidml.keras.backend backend.
08/31/2020 19:54:40 INFO     No existing state file found. Generating.
08/31/2020 19:54:40 INFO     Opening device "opencl_amd_gfx900.0"
08/31/2020 19:54:44 WARNING  Due to a bug in plaidML, clipnorm cannot be used on AMD backends so has been disabled
08/31/2020 19:54:44 INFO     Loading Trainer from Original plugin...
08/31/2020 19:54:44 CRITICAL Error caught! Exiting...
08/31/2020 19:54:44 ERROR    Caught exception in thread: '_training_0'
08/31/2020 19:54:44 ERROR    Alignments file does not exist: `E:\Machine Learning Projects\Dame Da Nae Rexouium\Rexouium Input Set High Res\alignments.fsa`
Process exited.
User avatar
torzdf
Posts: 2670
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: "Alignments file does not exist:" Project tries to access a file that is not defined.

Post by torzdf »

I'm not sure what your actual issue is here? It says this file does not exist? E:\Machine Learning Projects\Dame Da Nae Rexouium\Rexouium Input Set High Res\alignments.fsa

So either specify the correct location or make sure that file exists.

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 file does not exist:" Project tries to access a file that is not defined.

Post by bryanlyon »

You put in the A side alignments file, but you also need to provide the B side alignment file.

User avatar
Flimsy Fox
Posts: 5
Joined: Fri Aug 28, 2020 1:04 am
Been thanked: 1 time

Re: "Alignments file does not exist:" Project tries to access a file that is not defined.

Post by Flimsy Fox »

bryanlyon wrote: Mon Sep 07, 2020 3:29 am

You put in the A side alignments file, but you also need to provide the B side alignment file.

It worked, thanks!
facepalm

Locked