mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
chore: fix typos
Signed-off-by: snoppy <michaleli@foxmail.com>
This commit is contained in:
parent
feee37d75f
commit
13f22974a4
6 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue