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 1f9eb66 commit 725071eCopy full SHA for 725071e
timm/models/starnet.py
@@ -199,7 +199,7 @@ def forward_intermediates(
199
200
for feat_idx, stage in enumerate(stages):
201
if self.grad_checkpointing and not torch.jit.is_scripting():
202
- x = checkpoint_seq(stages, x)
+ x = checkpoint_seq(stage, x)
203
else:
204
x = stage(x)
205
if feat_idx in take_indices:
timm/models/tiny_vit.py
@@ -571,7 +571,7 @@ def forward_intermediates(
571
572
573
574
- x = checkpoint(stages, x)
+ x = checkpoint(stage, x)
575
576
577
0 commit comments