Unverified Commit cffb7f7f authored by Yakhyokhuja Valikhujaev's avatar Yakhyokhuja Valikhujaev Committed by GitHub
Browse files

Typo fix in comment in mvit.py (#6618)


Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent 0de3e5b4
......@@ -147,7 +147,7 @@ def _add_rel_pos(
k_t_ratio = max(q_t / k_t, 1.0)
dist_t = torch.arange(q_t)[:, None] * q_t_ratio - (torch.arange(k_t)[None, :] + (1.0 - k_t)) * k_t_ratio
# Intepolate rel pos if needed.
# Interpolate rel pos if needed.
rel_pos_h = _interpolate(rel_pos_h, dh)
rel_pos_w = _interpolate(rel_pos_w, dw)
rel_pos_t = _interpolate(rel_pos_t, dt)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment