Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent2916 committed Nov 6, 2024
1 parent dc08937 commit 6b87778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/refiners/foundationals/segment_anything/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def mask_decoder(self) -> MaskDecoder:

@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.
Expand Down
2 changes: 1 addition & 1 deletion src/refiners/foundationals/swin/swin_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def forward(self, x: Tensor):

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).
Expand Down

0 comments on commit 6b87778

Please sign in to comment.