fix typos

This commit is contained in:
Laurent 2024-11-12 12:41:21 +00:00 committed by Laureηt
parent d90bb25151
commit 831bc7f2db
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ class SegmentAnything(fl.Chain):
@no_grad()
def compute_image_embedding(self, image: Image.Image) -> ImageEmbedding:
"""Compute the emmbedding of an image.
"""Compute the embedding of an image.
Args:
image: The image to compute the embedding of.

View file

@ -205,7 +205,7 @@ class WindowSDPA(fl.Module):
class WindowAttention(fl.Chain):
"""
Window-based Multi-head Self-Attenion (W-MSA), optionally shifted (SW-MSA).
Window-based Multi-head Self-Attention (W-MSA), optionally shifted (SW-MSA).
It has a trainable relative position bias (RelativePositionBias).