Preview tool works fine, converting fails..

Converting source frames into swapped frames
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.
Locked
User avatar
230V
Posts: 7
Joined: Sun Jan 19, 2020 6:20 pm
Answers: 1
Has thanked: 2 times

Preview tool works fine, converting fails..

Post by 230V » Sun Jan 19, 2020 11:00 pm

Hi guys,

after trained an model to loss level 0,03 i did an preview using the preview section in the tools tab which works fine, result was not awesome but ok.
so i went to convert it to an video but the preview shows no change and the log shows an message like "no alignment found xxx skipping"

what did i wrong?
input dir: the the video where i want to change/swap the face
output dir: where the video file should be saved
alignments: alignments file of the video above (where i want to swap the face)
model dir: path to the folder of my trained model

any suggestions?
by 230V » Wed Jan 29, 2020 2:58 am
have sloved the problem..

the alignment file of the source video was the version where i have exracted every 10th frame. so it clear why it was always skipping. so have extracted the source video with setting every frame. using the new aligment file do the magic.

thanks for the support!
Go to full post

User avatar
torzdf
Posts: 378
Joined: Fri Jul 12, 2019 12:53 am
Answers: 71
Has thanked: 12 times
Been thanked: 80 times

Re: Preview tool works fine, converting fails..

Post by torzdf » Mon Jan 20, 2020 12:15 am

Please hit the Generate button in the GUI and post the command you are attempting to run. Thanks
My word is final

User avatar
230V
Posts: 7
Joined: Sun Jan 19, 2020 6:20 pm
Answers: 1
Has thanked: 2 times

Re: Preview tool works fine, converting fails..

Post by 230V » Mon Jan 20, 2020 2:07 am

Code: Select all

c:...\MiniConda3\envs\faceswap\python.exe c:...\faceswap\faceswap.py convert -i c:...file.avi -o c:...file.fsa -m "c:..model" -c avg-color -M extended -sc none -w opencv -osc 100 -l 0.4 -j 0 -L INFO

User avatar
torzdf
Posts: 378
Joined: Fri Jul 12, 2019 12:53 am
Answers: 71
Has thanked: 12 times
Been thanked: 80 times

Re: Preview tool works fine, converting fails..

Post by torzdf » Fri Jan 24, 2020 11:49 am

Your output in that command is pointing to an alignments file.
My word is final

User avatar
230V
Posts: 7
Joined: Sun Jan 19, 2020 6:20 pm
Answers: 1
Has thanked: 2 times

Re: Preview tool works fine, converting fails..

Post by 230V » Sat Jan 25, 2020 4:55 pm

does it mean there is no need to point to the alignment file of the source video at the convert tab?
i will test it when im home :)

User avatar
torzdf
Posts: 378
Joined: Fri Jul 12, 2019 12:53 am
Answers: 71
Has thanked: 12 times
Been thanked: 80 times

Re: Preview tool works fine, converting fails..

Post by torzdf » Sat Jan 25, 2020 6:27 pm

If the alignments file is in the default location, then there is no need to specify it, the process will automatically find it.

However, the output flag should be where you want the final output to be located, not the alignments file (as you have specified),
My word is final

User avatar
230V
Posts: 7
Joined: Sun Jan 19, 2020 6:20 pm
Answers: 1
Has thanked: 2 times

Re: Preview tool works fine, converting fails..

Post by 230V » Wed Jan 29, 2020 2:58 am

have sloved the problem..

the alignment file of the source video was the version where i have exracted every 10th frame. so it clear why it was always skipping. so have extracted the source video with setting every frame. using the new aligment file do the magic.

thanks for the support!

Locked