Page 1 of 1

Converting only converting a every x images

Posted: Sat Feb 04, 2023 2:52 am
by czzplnm

I've used Faceswap before and know I have my A/B models trained correctly. Usually I only extract every 10-20 n frames when extracting and training. However now converting complained about missing alignments unless I extract every, single, frame?

I got that fix but now my converting process is only swapping every 10-20 images?

My training model looks good and I have double checked my settings. Is my 500k iteration model trash now?

My steps:

Extract every 15
Sort faces
Cleanup alignments
Train
Convert

Not working?


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 2:56 am
by torzdf

The alignment file must be generated for every frame in the video when used for convert.

You can confirm if you are missing frames with the manual tool.


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:17 am
by czzplnm

Ive fixed the alignment file for convert but the conversion is still only converting every x frames. Manual tool is correct since my alignments is good now but is my model trash if it was trained with every x frames?


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:18 am
by torzdf

It will only be doing that if the alignments don't exist in the alignments file. Double check and make sure you are using the correct alignments file.

As I said before, the manual tool will show where you are missing alignments.


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:19 am
by czzplnm

Just double checked the alignments with manual and it looks great. Is it a problem if my model was trained with a different alignments file that was from every x frames?


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:21 am
by torzdf

No, that would be fine.

Ulitmately, the issue must be with the alignments file. Otherwise you will have hit an issue which no one else has ever hit in an area of the code that hasn't been touched for a long time.

The only other potential issue I can see is that there is a problem with frame duplication in the video file, but that would not make sense, as the alignment file will have been generated from the problematic video in the first place.


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:22 am
by czzplnm

When I preview it looks great too, maybe the train page of the app is glitched. I'll reset it all from a new project and report back. Weird.


Re: Converting only converting a every x images

Posted: Sat Feb 04, 2023 3:51 am
by czzplnm

Reselected the same inputs for convert and now it w.orked