Open rushuna86 opened 1 year ago
I also found that if you send from text2image to image2image, and scroll down to Additional Networks and change the lora weight value it will also trigger "restoring last networks | 0/25 [00:00<?, ?it/s] original forward/weights is restored." before generation inside Image2image, otherwise this doesn't occur and Additional Networks in image2image will stacked lora weight on top of the network created in text2image.
seems like commit 383abc0 also fixed this issue
my mistake it still does the doubling up, easily replicated when sending from t2i to inpainting. going down to additional networks and changing any value of fixes the doubling effect
Whenever you generate and image using Additional Networks instead of built in prompt lora and send to Image2Image, a doubling up of lora weight happens. From the console, I can see a network is generated for the lora weight settings, image is generated. When a new image is generated the following "restoring last networks | 0/25 [00:00<?, ?it/s] original forward/weights is restored." Happens before new network is created. However it seems like this process isn't being done when image is sent to Image2Image from Text2Image. If you send image from PNG info no double up happens, only from text2image
So the image is sent to Image2Image/Inpaint/Sketch/etc generated network weight, then the Additional Networks will also be enabled with the same weight you set once again. Double up the weight and overfitting. https://imgur.com/a/3pk8MAJ