Update nodes.py
Remove unnecessary parameter to decode method
This commit is contained in:
parent
519e7760e7
commit
9cfd46b2d9
2
nodes.py
2
nodes.py
|
@ -280,7 +280,7 @@ class VAEDecode:
|
|||
CATEGORY = "latent"
|
||||
DESCRIPTION = "Decodes latent images back into pixel space images."
|
||||
|
||||
def decode(self, vae, samples, tile_size=512):
|
||||
def decode(self, vae, samples):
|
||||
images = vae.decode(samples["samples"])
|
||||
if len(images.shape) == 5: #Combine batches
|
||||
images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1])
|
||||
|
|
Loading…
Reference in New Issue