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

Commit

Permalink
change deprecation version
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed Jun 7, 2021
1 parent ff04f4d commit ee56cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash/image/segmentation/backbones.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _fn_fcn_deeplabv3(model_name: str, num_classes: int, pretrained: bool = True
target=None,
stream=partial(warnings.warn, category=UserWarning),
deprecated_in="0.3.1",
remove_in="0.4.0",
remove_in="0.5.0",
template_mgs="The 'torchvision/fcn_resnet50' backbone has been deprecated since v%(deprecated_in)s in "
"favor of 'fcn_resnet50'. It will be removed in v%(remove_in)s.",
)(SEMANTIC_SEGMENTATION_BACKBONES.get("fcn_resnet50")),
Expand All @@ -75,7 +75,7 @@ def _fn_fcn_deeplabv3(model_name: str, num_classes: int, pretrained: bool = True
target=None,
stream=partial(warnings.warn, category=UserWarning),
deprecated_in="0.3.1",
remove_in="0.4.0",
remove_in="0.5.0",
template_mgs="The 'torchvision/fcn_resnet101' backbone has been deprecated since v%(deprecated_in)s in "
"favor of 'fcn_resnet101'. It will be removed in v%(remove_in)s.",
)(SEMANTIC_SEGMENTATION_BACKBONES.get("fcn_resnet101")),
Expand Down

0 comments on commit ee56cd7

Please sign in to comment.