Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
qubvel committed Jan 15, 2025
1 parent 7bb9d37 commit da24de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmentation_models_pytorch/encoders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_encoder(name, in_channels=3, depth=5, weights=None, output_stride=32, **
warnings.warn(
"`timm-` encoders are deprecated and will be removed in the future. "
"Please use `tu-` equivalent encoders instead (see 'Timm encoders' section in the documentation).",
DeprecationWarning
DeprecationWarning,
)

# convert timm- models to tu- models
Expand Down

0 comments on commit da24de9

Please sign in to comment.