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

Training your model
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Post Reply
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: 1000
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 28 times
Been thanked: 191 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: 495
Joined: Fri Jul 12, 2019 12:49 am
Answers: 41
Location: San Francisco
Has thanked: 3 times
Been thanked: 120 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

Post Reply