Kosinkadink / ComfyUI-Advanced-ControlNet

ControlNet scheduling and masking nodes with sliding context support
GNU General Public License v3.0
545 stars 54 forks source link

When using Reference Controlnet, clearing the model/node cache changes the result #166

Open michP247 opened 3 weeks ago

michP247 commented 3 weeks ago

Using the reference preprocessor and controlnet, I'm having trouble getting consistent results,

Here is the first image with specified seed: ComfyUI_00983_

And the second image with same seed after clicking on "Free model and node cache": ComfyUI_00984_

I changed absolutely no parameters as you can see if you plug those images into Comfy yourself. This bug doesn't seem to occur with other Advanced Controlnet from this plugin like when using openpose, only with the Reference nodes. No error in the console

Kosinkadink commented 3 weeks ago

What is "Free model and node cache"? Is it from another node pack, or a new ComfyUI feature?

michP247 commented 3 weeks ago

What is "Free model and node cache"? Is it from another node pack, or a new ComfyUI feature?

It's a button in the top right of ComfyUI as part of their new frontend. But I can clear the cache in other ways such as switching the Preprocessor to "adain+attain" then back to "adain", which gives the same issue

Kosinkadink commented 3 weeks ago

Gotcha, thanks for the heads up. I'll look into it later today

michP247 commented 2 weeks ago

What is "Free model and node cache"? Is it from another node pack, or a new ComfyUI feature?

Correction, it seems to be not new, looks like it's from the "Beta UI" that got added last month

michP247 commented 2 weeks ago

~Update: FreeU node seems to be the culprit. For some reason it produces tiny variations even with same seed. And when combined with the Reference nodes, these tiny changes add up to majorly change the final image somehow. This doesn't occur in A1111 or forge...maybe it's an issue for the main comfyui repo~

nvm, still getting the same problem even without the FreeU node

workflow.json

Kosinkadink commented 2 weeks ago

I didnt notice that you edited your comment (github does not send notifications for edits), so i put this on the back burner assuming FreeU compatibility was the issue. i'll take a look this weekend.

michP247 commented 2 weeks ago

I didnt notice that you edited your comment (github does not send notifications for edits), so i put this on the back burner assuming FreeU compatibility was the issue. i'll take a look this weekend.

thanks I lowkey didnt want to spam your mail