v3.9.0 #624
Replies: 8 comments 27 replies
-
Amazing work as always! 👍 |
Beta Was this translation helpful? Give feedback.
-
good morning, can you help me solve this problem? I've probably tried everything. I have Visual Studio installed, antivirus programs disabled. Launching App During handling of the above exception, another exception occurred: Traceback (most recent call last): Done! |
Beta Was this translation helpful? Give feedback.
-
A guide on masking within the current interface would be great... it seems like we need to do keyframing of masks, but I am not sure how layers come into play (and how a single mask at some point affects a certain part of the timeline or the WHOLE timeline), etc. |
Beta Was this translation helpful? Give feedback.
-
Wait, how does Xseg work? Noob here. Do I just change to Xseg masking and that's it? Or does the setting not matter unless choosing manual masking? Is it possible (or an idea at all?) to add facesets for target faces as well? Would that increase accuracy on the target face? Running CPU only fwiw. Oh and thank you so much for this repo, it works way better than I expected when I found it! Considering its relative ease of use. |
Beta Was this translation helpful? Give feedback.
-
Yes. It's a trained Net to detect and mask face occlusion automatically.
No and no. However it's planned to save the face selections into some collection for latter use, so that you don't need to redo the face selection if you process the same video/images again.
I'm very glad if that's your opinion because lately there are so many people opening issues about problems, where the solution mostly is right in front of their eyes and the real problem is sitting in front of a monitor 😄 |
Beta Was this translation helpful? Give feedback.
-
Target only. The order is Source Face -> Target Face -> Mask occluded areas on target face -> Re-apply occluded target face areas to final image. That way a hand in front of the face won't be pasted over with parts of your fake face. |
Beta Was this translation helpful? Give feedback.
-
my directml has tanked since the update and will only recognize CPU. "AMD always giving a headache >.<" before only when using masking it would only use CPU instead of Directml. Has anything been automatically implemented? I can't even get it to show up now. I tried to force some dml/directml in the settings but it automatically resorts to Cuda now. |
Beta Was this translation helpful? Give feedback.
-
I'm getting the most unexpected error. Installing requirements.txt went without a hitch. For some reason I get:
As if gradio is not installed. However, when I do:
I'm getting 4.38.1 so everything seems to be ok. This is all in a venv. Any ideas? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Bugfix: Face detection bounding box corrupt values at weird angles
Rewrote mask previewing to work with every model
Switching mask engines toggles text interactivity
Clearing target files, resets face selection dropdown
Massive rewrite of swapping architecture, needed for xseg implementation
Added DFL Xseg Support for partial face occlusion
Face masking only runs when there is a face detected
Removed unnecessary toggle checkbox for text masking
Added ability to do multiple swap passes
This discussion was created from the release v3.9.0.
Some further infos:
Adding DFL XSeg support and the possibility of doing several passes with a fake face are in my opinion huge improvements. The XSeg masking works automatically and is very, very fast. If you're wondering what this is all about: https://www.deepfakevfx.com/tutorials/deepfacelab-2-0-xseg-tutorial/
I was thinking about having it enabled by default but chose against it. The model I'm using is a the official one from Deepface Lab, converted to ONNX. If you want to try your own, I used https://github.com/Bruc3Xu/XSegNet2onnx to convert between formats. After conversion you would place it into models "xseg.onnx". It should work right away.
Increasing the number of fake passes should be used sparingly. It sometimes affects the coloring of the face too much or gets too blurry. It's always hit and miss, some fakes looked a lot better when using 2-3 steps, most of them became too artificial looking. Experiment yourself!
Manual masking: I left it out of the regular batch processing because it works with images only. It's perfectly working but to save the result you need to save the image from the preview area.
I'm pretty satisfied with the state of roop unleashed now, the only thing missing is whole frame modification like coloring b/w images or upscaling and adding filters. With the rewritten architecture this should be pretty easy, I'm just unsure if this should be in the faceswap tab or separated into the extras tab. Also there still are many open issues and bugs with the gradio framework I'm using. Hopefully those will be fixed by them before I completely loose interest in this 😄
Anyway, I'm currently putting much work in another project fork I started some time ago:
Coiffeur
I have it running on my local machine but it's currently CUDA only and you need to be very tech savy to install it successfully. Check it out if you have an NVIDIA GPU and feel brave enough!
Beta Was this translation helpful? Give feedback.
All reactions