Merge pull request #16060 from xiaoxianBoy/fix-typos

chore: fix typos
This commit is contained in:
AUTOMATIC1111
2024-07-06 10:06:35 +03:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@@ -572,7 +572,7 @@ class LatentDiffusionV1(DDPMV1):
:param h: height
:param w: width
:return: normalized distance to image border,
wtith min distance = 0 at border and max dist = 0.5 at image center
with min distance = 0 at border and max dist = 0.5 at image center
"""
lower_right_corner = torch.tensor([h - 1, w - 1]).view(1, 1, 2)
arr = self.meshgrid(h, w) / lower_right_corner