hako-mikan / sd-webui-cd-tuner

Color/Detail control for Stable Diffusion web-ui
GNU Affero General Public License v3.0
191 stars 8 forks source link

When used with LoRa block weights, Changes to the values in the cd-tuner input box are not reflected #7

Closed getty33 closed 8 months ago

getty33 commented 8 months ago

Changes to the values in the input box are not reflected. after restarting webui, the values first used for generation continue to be reflected in the generated results, taking precedence over the values in the current input box.

There is no error message, and the parameters displayed after CD Tuner Effective also reflect what was entered in the current input box. However, the generated result clearly does not.

Disabling sd-dynamic-prompts (https://github.com/adieyal/sd-dynamic-prompts) in my environment did not improve the symptoms.

A1111 version: [v1.6.0] Python 3.10.9

redhermes commented 8 months ago

Can confirm. I am getting the same results/problem.

thatjimupnorth commented 8 months ago

Same here too. Clicking Disable doesn't actually disable either.

redhermes commented 8 months ago

I also had that problem (not disabling). In addition, using with image to image does not work. No API support. and the Color-Map function is unusable do to bug and UI issues. Seems like there was little to no effort made on testing. I had to uninstall due to all the bugs. Disappointing because it could be so cool.

getty33 commented 8 months ago

After restarting webui, the display CD Tuner Effective : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0] is also output when generated with the input box in its default state.  When run with the "disable" checkbox checked, the CD Tuner Effective display is not output, however, the generated image seems to reflect the values that were first entered after the restart.  If the first generation is run after the restart with the disable checkbox checked, the contents of the input box are ignored. If you then uncheck the checkbox and enter some values in the input boxes, the default values (all 0s) seem to be used for the generation rather than the values in the input boxes.  Also, what is entered in the input box is imprinted in the image metadata, even if it is not obviously reflected in the generated image.

getty33 commented 8 months ago

Also, in my environment, these problems seemed to be caused by using LoRa block weights and CD-tuner together. CD-tuner worked fine for generation without the LoRa block weights, and CD-tuner worked fine for generation with LoRa. The reported problems seem to occur only when lora weights are specified in LoRa block weights. even if the LoRa block weights extension is installed in webui, The problem does not occur unless the lora weights are specified using the LoRa block weights extension installed on the webui.

hako-mikan commented 8 months ago

Thank you for the detailed information. I understood the cause and fixed it.

thatjimupnorth commented 8 months ago

OK, cool. When will the update go live?

getty33 commented 8 months ago

just now I confirmed that it works correctly. i really appreciate for your swiftly response and the great tools you have created.thanks deeply for you.