From e6fc8af2496e7081e2f83107a47c3097f9819436 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Tue, 18 Oct 2022 08:08:58 -0400 Subject: [PATCH] Fix typo Taken from `main` PR #1147 Author: eltociear --- ldm/models/diffusion/ddpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldm/models/diffusion/ddpm.py b/ldm/models/diffusion/ddpm.py index bdae1a9271..4b62b5e393 100644 --- a/ldm/models/diffusion/ddpm.py +++ b/ldm/models/diffusion/ddpm.py @@ -1353,7 +1353,7 @@ class LatentDiffusion(DDPM): num_downs = self.first_stage_model.encoder.num_resolutions - 1 rescale_latent = 2 ** (num_downs) - # get top left postions of patches as conforming for the bbbox tokenizer, therefore we + # get top left positions of patches as conforming for the bbbox tokenizer, therefore we # need to rescale the tl patch coordinates to be in between (0,1) tl_patch_coordinates = [ (