from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase_								=							logging.get_logger(__name__)





class      lowerCAmelCase						(					_a			):
     _SCREAMING_SNAKE_CASE     :     Tuple		="""timm_backbone"""



     def __init__(					self				,      lowerCAmelCase__=None				,      lowerCAmelCase__=3				,      lowerCAmelCase__=True				,      lowerCAmelCase__=True				,      lowerCAmelCase__=None				,      **lowerCAmelCase__				,      ):
            super().__init__(**lowerCAmelCase__       )
            _A=	backbone
            _A=	num_channels
            _A=	features_only
            _A=	use_pretrained_backbone
            _A=	True
            _A=	out_indices if out_indices is not None else (-1,)
import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


UpperCAmelCase_								=							logging.get_logger(__name__)





class      lowerCAmelCase						(					_a			):



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