Skip to content

Commit 1f70f43

Browse files
author
Laurent
committed
fix typos
1 parent d90bb25 commit 1f70f43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/refiners/foundationals/segment_anything/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def mask_decoder(self) -> MaskDecoder:
8080

8181
@no_grad()
8282
def compute_image_embedding(self, image: Image.Image) -> ImageEmbedding:
83-
"""Compute the emmbedding of an image.
83+
"""Compute the embedding of an image.
8484
8585
Args:
8686
image: The image to compute the embedding of.

src/refiners/foundationals/swin/swin_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def forward(self, x: Tensor):
205205

206206
class WindowAttention(fl.Chain):
207207
"""
208-
Window-based Multi-head Self-Attenion (W-MSA), optionally shifted (SW-MSA).
208+
Window-based Multi-head Self-Attention (W-MSA), optionally shifted (SW-MSA).
209209
210210
It has a trainable relative position bias (RelativePositionBias).
211211

0 commit comments

Comments
 (0)