Trying to filter faces during extract

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
gras
Posts: 2
Joined: Mon Sep 30, 2019 1:52 pm
Has thanked: 1 time

Trying to filter faces during extract

Post by gras »

I have followed the excellent tutorial, but would like to use the filter to select only faces that are similar to my desired face.

Here is a link to a screenshot of the settings:

Here is the log (DEBUG) of the run:

The extract works fine, except no filtering occurs. Any advice is welcome (including how best to attach logs & screenshots).

I am running with a GTX 1080 Ti (11gb) on a 12 CPU machine with 32GB RAM.

Thanks!

by torzdf » Sun Oct 20, 2019 10:26 pm

Honestly? Face Filter is not hugely reliable. At the moment it uses the (not very good) cv2-dnn detector/aligner to get the faces (for vram reasons) which means sometimes it just inputs junk....

It is on my (lengthy) TO DO list to look into this, but I recommend just extracting all faces and then using the sort tool (as per the extract guide) to group all the faces together and delete the ones you don't want. This method is MUCH more reliable.

Go to full post
User avatar
torzdf
Posts: 2682
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 133 times
Been thanked: 626 times

Re: Trying to filter faces during extract

Post by torzdf »

Honestly? Face Filter is not hugely reliable. At the moment it uses the (not very good) cv2-dnn detector/aligner to get the faces (for vram reasons) which means sometimes it just inputs junk....

It is on my (lengthy) TO DO list to look into this, but I recommend just extracting all faces and then using the sort tool (as per the extract guide) to group all the faces together and delete the ones you don't want. This method is MUCH more reliable.

My word is final

User avatar
gras
Posts: 2
Joined: Mon Sep 30, 2019 1:52 pm
Has thanked: 1 time

Re: Trying to filter faces during extract

Post by gras »

Thanks for the response!

I am trying to script the process as much as possible and thought perhaps I had missed a setting. Again, the tutorial is excellent. I truly appreciate the work you have put into this project!

Locked