segmentation.py 301 Bytes
Newer Older
1
import warnings
2

3
4
# Import all methods/classes for BC:
from . import *  # noqa: F401, F403
5

6

7
warnings.warn(
8
9
    "The 'torchvision.models.segmentation.segmentation' module is deprecated since 0.12 and will be removed in "
    "0.14. Please use the 'torchvision.models.segmentation' directly instead."
10
)