





'''simple docstring'''

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


lowercase__						:      Optional[Any]	=    logging.get_logger(__name__)

lowercase__						:      str	=    {
    'Visual-Attention-Network/van-base': (
        'https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json'
    ),
}
class     __lowerCAmelCase					(   __magic_name__			):






       """simple docstring"""
       _snake_case     :					Dict						    =   'van'





       def __init__(							self       :		Union[str, Any]	,			lowerCAmelCase__       :		Optional[Any]=224	,			lowerCAmelCase__       :		Dict=3	,			lowerCAmelCase__       :		str=[7, 3, 3, 3]	,			lowerCAmelCase__       :		List[Any]=[4, 2, 2, 2]	,			lowerCAmelCase__       :		Union[str, Any]=[64, 128, 320, 512]	,			lowerCAmelCase__       :		int=[3, 3, 12, 3]	,			lowerCAmelCase__       :		int=[8, 8, 4, 4]	,			lowerCAmelCase__       :		Any="gelu"	,			lowerCAmelCase__       :		Any=0.02	,			lowerCAmelCase__       :		List[Any]=1e-6	,			lowerCAmelCase__       :		Dict=1e-2	,			lowerCAmelCase__       :		Optional[int]=0.0	,			lowerCAmelCase__       :		str=0.0	,			**lowerCAmelCase__       :		Any	,			)   ->					List[Any]:

            '''simple docstring'''




            super().__init__(**lowerCAmelCase__					)
            _UpperCamelCase       =	image_size
            _UpperCamelCase       =	num_channels
            _UpperCamelCase       =	patch_sizes
            _UpperCamelCase       =	strides
            _UpperCamelCase       =	hidden_sizes
            _UpperCamelCase       =	depths
            _UpperCamelCase       =	mlp_ratios
            _UpperCamelCase       =	hidden_act
            _UpperCamelCase       =	initializer_range
            _UpperCamelCase       =	layer_norm_eps
            _UpperCamelCase       =	layer_scale_init_value
            _UpperCamelCase       =	drop_path_rate
            _UpperCamelCase       =	dropout_rate










'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


lowercase__						:      Optional[Any]	=    logging.get_logger(__name__)
class     __lowerCAmelCase					(   __magic_name__			):






       """simple docstring"""





       def __init__(							self       :		List[Any]	,			*lowerCAmelCase__       :		List[str]	,			**lowerCAmelCase__       :		List[str]					)   ->					None:

            '''simple docstring'''




            warnings.warn(
                '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                ''' use OwlViTImageProcessor instead.'''	,			lowerCAmelCase__	,			)
            super().__init__(*lowerCAmelCase__	,			**lowerCAmelCase__					)



