We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148d477 commit 6ddd1c2Copy full SHA for 6ddd1c2
torchvision/models/maxvit.py
@@ -688,7 +688,7 @@ def __init__(
688
p_stochastic=p_stochastic[p_idx : p_idx + num_layers],
689
),
690
)
691
- input_size = self.blocks[-1].grid_size
+ input_size = self.blocks[-1].grid_size # type: ignore[assignment]
692
p_idx += num_layers
693
694
# see https://github.com/google-research/maxvit/blob/da76cf0d8a6ec668cc31b399c4126186da7da944/maxvit/models/maxvit.py#L1137-L1158
0 commit comments