Skip to content

Commit

Permalink
added missing initialization of latent_noise to None
Browse files Browse the repository at this point in the history
  • Loading branch information
lstein committed Sep 8, 2022
1 parent d1d044a commit 4168774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ldm/dream/generator/inpaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class Inpaint(Img2Img):
def __init__(self,model):
self.init_latent = None
super().__init__(model)

@torch.no_grad()
Expand Down

0 comments on commit 4168774

Please sign in to comment.