'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


__snake_case						  =		logging.get_logger(__name__)





class       _a    (		__a      ):


  """simple docstring"""

  def __init__(		self      :       str   ,				*lowercase_      :       int   ,				**lowercase_      :       List[Any]      ):







    '''simple docstring'''


    warnings.warn(
        """The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
        """ use YolosImageProcessor instead."""   ,				lowercase_   ,				)
    super().__init__(*lowercase_   ,				**lowercase_      )


'''simple docstring'''


from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__snake_case						  =		{"""configuration_focalnet""": ["""FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP""", """FocalNetConfig"""]}


try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __snake_case						  =		[
           """FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST""",
           """FocalNetForImageClassification""",
           """FocalNetForMaskedImageModeling""",
           """FocalNetBackbone""",
           """FocalNetModel""",
           """FocalNetPreTrainedModel""",
       ]

if TYPE_CHECKING:
       from .configuration_focalnet import FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP, FocalNetConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_focalnet import (
                  FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST,
                  FocalNetBackbone,
                  FocalNetForImageClassification,
                  FocalNetForMaskedImageModeling,
                  FocalNetModel,
                  FocalNetPreTrainedModel,
              )

else:
       import sys

       __snake_case						  =		_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

