segmentation.py 301 B

12345678910
  1. import warnings
  2. # Import all methods/classes for BC:
  3. from . import * # noqa: F401, F403
  4. warnings.warn(
  5. "The 'torchvision.models.segmentation.segmentation' module is deprecated since 0.12 and will be removed in "
  6. "0.14. Please use the 'torchvision.models.segmentation' directly instead."
  7. )