Skip to content

Commit cffb7f7

Browse files
yakhyoNicolasHug
andauthored
Typo fix in comment in mvit.py (#6618)
Co-authored-by: Nicolas Hug <[email protected]>
1 parent 0de3e5b commit cffb7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/models/video/mvit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _add_rel_pos(
147147
k_t_ratio = max(q_t / k_t, 1.0)
148148
dist_t = torch.arange(q_t)[:, None] * q_t_ratio - (torch.arange(k_t)[None, :] + (1.0 - k_t)) * k_t_ratio
149149

150-
# Intepolate rel pos if needed.
150+
# Interpolate rel pos if needed.
151151
rel_pos_h = _interpolate(rel_pos_h, dh)
152152
rel_pos_w = _interpolate(rel_pos_w, dw)
153153
rel_pos_t = _interpolate(rel_pos_t, dt)

0 commit comments

Comments
 (0)