





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_snake_case  :    List[str]						    =  {'configuration_sew': ['SEW_PRETRAINED_CONFIG_ARCHIVE_MAP', 'SEWConfig']}

try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _snake_case  :    Any						    =  [
         'SEW_PRETRAINED_MODEL_ARCHIVE_LIST',
         'SEWForCTC',
         'SEWForSequenceClassification',
         'SEWModel',
         'SEWPreTrainedModel',
     ]

if TYPE_CHECKING:
     from .configuration_sew import SEW_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWConfig

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_sew import (
              SEW_PRETRAINED_MODEL_ARCHIVE_LIST,
              SEWForCTC,
              SEWForSequenceClassification,
              SEWModel,
              SEWPreTrainedModel,
          )


else:
     import sys

     _snake_case  :    Optional[Any]						    =  _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


snake_case_			  = logging.get_logger(__name__)


class       SCREAMING_SNAKE_CASE__					(__snake_case     ):





    def __init__(      self						,   *a						,   **a):
         warnings.warn(
             'The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
             ' use DPTImageProcessor instead.'						,   a						,   )
         super().__init__(*a						,   **a)

