Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 8, 2021
1 parent c406345 commit 5b6aeb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flash/image/backbones.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ def _fn_timm(
num_classes: int = 0,
**kwargs,
) -> Tuple[nn.Module, int]:
backbone = timm.create_model(
model_name, pretrained=pretrained, num_classes=num_classes, **kwargs
)
backbone = timm.create_model(model_name, pretrained=pretrained, num_classes=num_classes, **kwargs)
num_features = backbone.num_features
return backbone, num_features

Expand Down

0 comments on commit 5b6aeb0

Please sign in to comment.