Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalmsley committed Feb 27, 2024
1 parent b2f8e39 commit 772660d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zoobot/pytorch/training/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def configure_optimizers(self):
]
elif isinstance(self.encoder, timm.models.MaxxVit):
blocks_to_tune = [self.encoder.stem] + [stage for stage in self.encoder.stages]
elif isinstance(self.encoder, timm.models.ConvNeXt): # stem + 3 blocks, for all sizes
elif isinstance(self.encoder, timm.models.ConvNeXt): # stem + 4 blocks, for all sizes
# https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/convnext.py#L264
blocks_to_tune = [self.encoder.stem] + [stage for stage in self.encoder.stages]
else:
Expand Down

0 comments on commit 772660d

Please sign in to comment.