From 183b98384fb40406095fce86d08da3934563d01c Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 6 Oct 2022 09:35:04 -0400 Subject: [PATCH] set perlin & threshold to zero on generator initialization --- ldm/dream/generator/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldm/dream/generator/base.py b/ldm/dream/generator/base.py index eef1e3259e..08dcd3aa81 100644 --- a/ldm/dream/generator/base.py +++ b/ldm/dream/generator/base.py @@ -21,6 +21,8 @@ class Generator(): self.seed = None self.latent_channels = model.channels self.downsampling_factor = downsampling # BUG: should come from model or config + self.perlin = 0.0 + self.threshold = 0 self.variation_amount = 0 self.with_variations = []