


'''simple docstring'''



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


__lowercase     :						str	=     logging.get_logger(__name__)

__lowercase     :						Dict	=     {
    'vinvino02/glpn-kitti': 'https://huggingface.co/vinvino02/glpn-kitti/resolve/main/config.json',
    # See all GLPN models at https://huggingface.co/models?filter=glpn
}





class 							__UpperCamelCase    (		lowerCAmelCase_ ):
	A_           =   "glpn"




	def __init__(       self						,    __a=3						,    __a=4						,    __a=[2, 2, 2, 2]						,    __a=[8, 4, 2, 1]						,    __a=[32, 64, 160, 256]						,    __a=[7, 3, 3, 3]						,    __a=[4, 2, 2, 2]						,    __a=[1, 2, 5, 8]						,    __a=[4, 4, 4, 4]						,    __a="gelu"						,    __a=0.0						,    __a=0.0						,    __a=0.02						,    __a=0.1						,    __a=1E-6						,    __a=64						,    __a=10						,    __a=-1						,    **__a						,    ):

						'''simple docstring'''





						super().__init__(**__a							)

						__a      :	Optional[int]    =  num_channels
						__a      :	Optional[int]    =  num_encoder_blocks
						__a      :	Tuple    =  depths
						__a      :	Union[str, Any]    =  sr_ratios
						__a      :	Tuple    =  hidden_sizes
						__a      :	str    =  patch_sizes
						__a      :	Dict    =  strides
						__a      :	Any    =  mlp_ratios
						__a      :	str    =  num_attention_heads
						__a      :	str    =  hidden_act
						__a      :	List[str]    =  hidden_dropout_prob
						__a      :	List[str]    =  attention_probs_dropout_prob
						__a      :	List[Any]    =  initializer_range
						__a      :	Any    =  drop_path_rate
						__a      :	int    =  layer_norm_eps
						__a      :	int    =  decoder_hidden_size
						__a      :	List[str]    =  max_depth
						__a      :	int    =  head_in_index







'''simple docstring'''



from .imports import is_rich_available


if is_rich_available():
	from rich.traceback import install

	install(show_locals=False)

else:
	raise ModuleNotFoundError('To use the rich extension, install rich with `pip install rich`')



