script to prune faces mistakenly generated despite -een arg

Want to know about the Faceswap's Face Extraction process? Got tips, ideas or just want to learn about how it all works? Then this is the place for you


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved for Extracting and preparing face sets for training a model in Faceswap.

If you have found a bug are having issues with the Extraction process not working, then you should post in the Extract Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
korrupt78
Posts: 50
Joined: Wed Jan 29, 2020 1:34 am
Has thanked: 2 times
Been thanked: 1 time

script to prune faces mistakenly generated despite -een arg

Post by korrupt78 »

For some reason, the extract command regularly disobeys the -een 6 arg that I pass it on the command line at a random point in the extraction process. It starts off good, and then at some point (usually 100-200 frames into a video) will switch to generating every frame instead of every 6th frame, creating lots of cleanup work for me.

So I wrote this little script to help automate that process. Posting here in case it helps others with similar needs.

Locked