



'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


UpperCAmelCase     		=   logging.get_logger(__name__)

class __snake_case(				_lowerCAmelCase ):


						'''simple docstring'''



						def __init__( self     ,	*A_     ,	**A_				)     ->     None:
							warnings.warn(
							    """The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
							    """ use GLPNImageProcessor instead."""     ,	A_     ,	)
							super().__init__(*A_     ,	**A_				)




'''simple docstring'''

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


UpperCAmelCase     		=   logging.get_logger(__name__)

class __snake_case(				_lowerCAmelCase ):


						'''simple docstring'''



						UpperCAmelCase							:   Optional[int]									=		"timm_backbone"


						def __init__( self     ,	A_=None     ,	A_=3     ,	A_=True     ,	A_=True     ,	A_=None     ,	**A_     ,	)     ->     int:
							super().__init__(**A_				)
							lowerCAmelCase   =     backbone
							lowerCAmelCase   =     num_channels
							lowerCAmelCase   =     features_only
							lowerCAmelCase   =     use_pretrained_backbone
							lowerCAmelCase   =     True
							lowerCAmelCase   =     out_indices if out_indices is not None else (-1,)