Taken from `main` PR #1147 
Author: eltociear
This commit is contained in:
Lincoln Stein 2022-10-18 08:08:58 -04:00 committed by GitHub
parent c974c95e2b
commit e6fc8af249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [
(