Extraltodeus / depthmap2mask

Create masks out of depthmaps in img2img
355 stars 35 forks source link

[Bug]: img2img batch using depthmap loads and unloads model for each image, making it way slower #23

Closed konqiDAM closed 1 year ago

konqiDAM commented 1 year ago

When using the depthmap mask option its way to slow, loads model, generated depthmap and unloads again, thats to slow. It should not be unloaded the model or just generate first the dedpthmaps first, but in that case add an option to use an already existing depth map. Thing is, right now a batch is like 3-4 times slower compared to not use a depthmap.

Extraltodeus commented 1 year ago

Yers as batch img2img is it's own script which calls everything as it would during a normal img2img. That extension does not support it.