Skip to content

Commit

Permalink
TimmResnet26D
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed Jan 21, 2024
1 parent d610f6c commit 6b9b717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_toolbelt/modules/encoders/timm/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __init__(
from timm.models.resnet import resnet26d

act_layer = get_activation_block(activation)
encoder = resnet50d(features_only=True, pretrained=pretrained, act_layer=act_layer, **kwargs)
encoder = resnet26d(features_only=True, pretrained=pretrained, act_layer=act_layer, **kwargs)
if first_conv_stride_one:
encoder.conv1[0].stride = (1, 1)
for info in encoder.feature_info:
Expand Down

0 comments on commit 6b9b717

Please sign in to comment.