added missing initialization of latent_noise to None

This commit is contained in:
Lincoln Stein 2022-09-07 20:24:35 -04:00
parent d1d044aa87
commit 41687746be

View File

@ -11,6 +11,7 @@ from ldm.models.diffusion.ddim import DDIMSampler
class Inpaint(Img2Img):
def __init__(self,model):
self.init_latent = None
super().__init__(model)
@torch.no_grad()