Skip to content

Commit

Permalink
Fix typos (#33583)
Browse files Browse the repository at this point in the history
Co-authored-by: litianjian <[email protected]>
  • Loading branch information
litianjian and litianjian authored Sep 20, 2024
1 parent e9356a4 commit 7b2b536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ def apply_pooling(self, image_features):
image_features = image_features.view(batch_frames, height, width, -1)
image_features = image_features.permute(0, 3, 1, 2).contiguous()

height, weight = image_features.shape[2:]
scaled_shape = [math.ceil(height / 2), math.ceil(weight / 2)]
height, width = image_features.shape[2:]
scaled_shape = [math.ceil(height / 2), math.ceil(width / 2)]
image_features = nn.functional.interpolate(image_features, size=scaled_shape, mode="bilinear")

image_features = image_features.permute(0, 2, 3, 1)
Expand Down

0 comments on commit 7b2b536

Please sign in to comment.