StableDiffusion.NET icon indicating copy to clipboard operation
StableDiffusion.NET copied to clipboard

Can you support the BatchCount parameter?

Open qiandi opened this issue 1 year ago • 6 comments

and Image2Video method

qiandi avatar Jun 17 '24 06:06 qiandi

What is your use-case for an batch-count parameter? I don't see any advantage over just a loop and multiple generations. But the parameter would add extra clutter to the interface and introduce some challenges freeing the native memory.

Image2Video is not supported in stable-diffusion.cpp so far. It was worked on in https://github.com/leejet/stable-diffusion.cpp/pull/236 but never got merged.

DarthAffe avatar Jun 17 '24 11:06 DarthAffe

Does BatchSize support it?

qiandi avatar Jun 18 '24 02:06 qiandi

No

DarthAffe avatar Jun 18 '24 08:06 DarthAffe

Why is there no judgment on null for _parameter in the Initialize method

qiandi avatar Jun 19 '24 03:06 qiandi

What do you mean? The _parameter-Field is not nullable, that's also runtime checked when passing it in the constructor.

DarthAffe avatar Jun 19 '24 08:06 DarthAffe

I'm sorry I didn't make it clear,I see that you don't need to _parameter parameters only when using Upscale,Is it possible to initialize it separately

qiandi avatar Jun 20 '24 02:06 qiandi