Fix some custom nodes.
This commit is contained in:
parent
bdeb1c171c
commit
8a5281006f
2
nodes.py
2
nodes.py
|
@ -298,7 +298,7 @@ class VAEDecodeTiled:
|
||||||
|
|
||||||
CATEGORY = "_for_testing"
|
CATEGORY = "_for_testing"
|
||||||
|
|
||||||
def decode(self, vae, samples, tile_size, overlap):
|
def decode(self, vae, samples, tile_size, overlap=64):
|
||||||
if tile_size < overlap * 4:
|
if tile_size < overlap * 4:
|
||||||
overlap = tile_size // 4
|
overlap = tile_size // 4
|
||||||
images = vae.decode_tiled(samples["samples"], tile_x=tile_size // 8, tile_y=tile_size // 8, overlap=overlap // 8)
|
images = vae.decode_tiled(samples["samples"], tile_x=tile_size // 8, tile_y=tile_size // 8, overlap=overlap // 8)
|
||||||
|
|
Loading…
Reference in New Issue