ljleb

Results 256 comments of ljleb

It was relatively trivial in the end. It seems I could simply rely on `script.process_batch`. Will refactor a bit, add a couple tests and then mark as ready.

I am not sure what the best place for the batch fallback textbox is. Right now the one in img2img batch tab is always used, even in txt2img, when leaving...

> @AbyszOne However, while that's important at scale, I think a relatively simple functionality to add would be a loopback. That's a good idea. TemporalNet requires a similar approach so...

I'm adding 1 or 2 more tests and I think this would be ready to merge. It's hard to automatically test many important part of the code that also loads...

I decided to put the loopback feature into this PR as well because I ended up refactoring the img2img batch tab detection code into something more reliable. If this makes...

The new checkbox was put here: ![image](https://user-images.githubusercontent.com/32277961/229273298-a2a9f955-1cea-4387-b85d-f860e3882255.png) I am not sure if it has a place in batch mode as it will only consider the first image of the batch....

Ah indeed I misinterpreted your comment. So IIUC, instead of sending the last generated image to a cn unit, you want to send it to the img2img init image. TemporalNet...

After trying to implement the img2img init image loopback as a script, it seems it won't be possible to do that, as `processing.StableDiffusionProcessingImg2Img.init` processes them in bulk at the beginning...

In the end I found a way to make img2img loopback work. My mistake was mixing up batch size with batch count. However, I encountered a problem while implementing it....

I took a deep dive these last 2 days into making img2img loopback work as a standalone script, you can find my efforts here: https://github.com/ljleb/sd-webui-controlnet/tree/img2img-loopback I was looking into how...