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

The difference Results between the CODE and ComfyUI #36

Open
Xuan-World opened this issue Nov 15, 2024 · 1 comment
Open

The difference Results between the CODE and ComfyUI #36

Xuan-World opened this issue Nov 15, 2024 · 1 comment

Comments

@Xuan-World
Copy link

Xuan-World commented Nov 15, 2024

prompt: 'a pretty girl with long hair is having dinner with the other two people'

comfyui results:
Clipboard_Screenshot_1731660020

code results:
flux_inpaint

same mask , same seed , same prompt ,same models .

I didn't modify the model configuration you adopted.

I wonder how this happens.

@Xuan-World
Copy link
Author

Xuan-World commented Nov 15, 2024

Wow, I guess I make a step on it. I find the code here
result = pipe( prompt=prompt, height=size[1], width=size[0], control_image=image, control_mask=mask, num_inference_steps=28, generator=generator, controlnet_conditioning_scale=0.9, guidance_scale=3.5, negative_prompt="bad,ugly,deformed", true_guidance_scale=3.5 # default: 3.5 for alpha and 1.0 for beta ).images[0]

The true_guidance_scale is 1.0 in source CODE and 3.5 in ComfyUI. And Since the ComfyUI is better than CODE result, I change the code here to be 3.5. than I got the satisfying result below via code:
flux_inpaint

To prove my finding, I change the cfg-guider in ComfyUI and the awful result comes out as below.
Clipboard_Screenshot_1731662733

So , what do you think about this question? @JPlin

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

1 participant