Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very bizzare results with codeformer engine #5

Open
Kinglord opened this issue Sep 25, 2024 · 1 comment
Open

Very bizzare results with codeformer engine #5

Kinglord opened this issue Sep 25, 2024 · 1 comment

Comments

@Kinglord
Copy link

Hello,

I was playing with this last night and thanks for the plugin, it's a lot of fun to mess with! One thing I noticed is that when I tried to use the codeformer engine, the results were pretty horrid. It appeared to effect the entire image, not just the face, and the face in particular would be drastically changed at crazy zoom levels, it would replace the whole face with just a large eyeball and a nose for example. With some swaps I'd also get just random white/black noise. I'm guessing the onnx file didn't actually convert right, or maybe the FP16 just doesn't work with my setup? It's not a huge deal but just wanted to let you know, if you'd like more details or what to troubleshoot I'm happy to help.

@yuvraj108c
Copy link
Owner

yuvraj108c commented Sep 26, 2024

Hello, thx for testing out.

The FP16 engines don't give the best results, so I'd recommend FP32 during export
and as mentioned, the input image should have a cropped face because the node doesn't do any pre/postprocessing/face alignment currently etc

you've to crop faces from images first using something like: https://github.com/liusida/ComfyUI-AutoCropFaces
then you'll get the best results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants