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
When I extract a data set, I typically use vgg_obstructed. However, every time I try to do a manual edit of theses, invariably when I go to train I get the error that the mask I have been training on is not present . This even happens when I do a mask edit and use the vgg_obstructed mask view. Is it defaulting to components and extended, or should I just use those from now on? Is there a way to make sure that all of the masks and faces are saved to a vgg mask before saving the alignment file? or should I not worry about training on the new alignment file, only train on the original alignment and just use the new one(after manual alignments) for the convert?
09/27/2020 14:39:26 ERROR Caught exception in thread: '_training_0'
09/27/2020 14:39:26 ERROR At least one of your faces does not have the mask vgg-obstructed stored for it.
09/27/2020 14:39:26 ERROR You should run the Mask Tool to generate this mask for your faceset or select a different mask in the training configuration options.
09/27/2020 14:39:26 ERROR The face that caused this failure was [side: A, frame: combined_002186.png, index: 0]. The masks that exist for this face are: ['components', 'extended'].
09/27/2020 14:39:26 ERROR Be aware that there are probably more faces without this Mask Type
Chances are you are changing some faces/alignment and those masks are being reset since the face image has changed. Don't do combined edit alignments and masks in the same pass, do separate passes for each.
Ok, well I tried that. Only did manual with the alignments, didn't touch the masks at all and still getting the same error. Could this be something with the vgg obstructed masks? like does the manual tool just erase all those masks when you start using alignment edits as some kind of default?
The reason for this is simple, but slightly annoying.
When you edit landmarks, the mask for the face changes as well. This is fine for components + extended, as they are landmarks based, so they get auto-regenerated. The other masks are NN based, It's not possible to regenerate these masks on the fly as the GPU is being used for Face Alignment, so the corresponding masks are deleted on any edit.
Once you have finished manually editing the landmarks, use the mask tool to regenerate the missing masks for your newly corrected faces. You can then go in and edit them.