Ë
    ÛÓ^j{  ã                   ój   — d Z ddlmZ ddlmZ ddlmZ  ed¬«      e G d„ d	e«      «       «       Zd	gZy
)zGLPN model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzvinvino02/glpn-kitti)Ú
checkpointc                   ó¾  — e Zd ZU dZdZdZeed<   dZeed<   dZ	e
e   eedf   z  ed	<   d
Ze
e   eedf   z  ed<   dZe
e   eedf   z  ed<   dZe
e   eedf   z  ed<   dZe
e   eedf   z  ed<   dZe
e   eedf   z  ed<   dZe
e   eedf   z  ed<   dZeed<   dZeez  ed<   dZeez  ed<   dZeed<   dZeez  ed<   dZeed <   d!Zeed"<   d#Zeed$<   d%Zeed&<   y')(Ú
GLPNConfiga¦  
    num_encoder_blocks (`int`, *optional*, defaults to 4):
        The number of encoder blocks (i.e. stages in the Mix Transformer encoder).
    depths (`list[int]`, *optional*, defaults to `[2, 2, 2, 2]`):
        The number of layers in each encoder block.
    sr_ratios (`list[int]`, *optional*, defaults to `[8, 4, 2, 1]`):
        Sequence reduction ratios in each encoder block.
    patch_sizes (`list[int]`, *optional*, defaults to `[7, 3, 3, 3]`):
        Patch size before each encoder block.
    strides (`list[int]`, *optional*, defaults to `[4, 2, 2, 2]`):
        Stride before each encoder block.
    num_attention_heads (`list[int]`, *optional*, defaults to `[1, 2, 5, 8]`):
        Number of attention heads for each attention layer in each block of the Transformer encoder.
    mlp_ratios (`list[int]`, *optional*, defaults to `[4, 4, 4, 4]`):
        Ratio of the size of the hidden layer compared to the size of the input layer of the Mix FFNs in the
        encoder blocks.
    decoder_hidden_size (`int`, *optional*, defaults to 64):
        The dimension of the decoder.
    max_depth (`int`, *optional*, defaults to 10):
        The maximum depth of the decoder.
    head_in_index (`int`, *optional*, defaults to -1):
        The index of the features to use in the head.

    Example:

    ```python
    >>> from transformers import GLPNModel, GLPNConfig

    >>> # Initializing a GLPN vinvino02/glpn-kitti style configuration
    >>> configuration = GLPNConfig()

    >>> # Initializing a model from the vinvino02/glpn-kitti style configuration
    >>> model = GLPNModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úglpnr   Únum_channelsé   Únum_encoder_blocks)é   r   r   r   .Údepths)é   r   r   é   Ú	sr_ratios)é    é@   é    é   Úhidden_sizes)é   r   r   r   Úpatch_sizes)r   r   r   r   Ústrides)r   r   é   r   Únum_attention_heads)r   r   r   r   Ú
mlp_ratiosÚgeluÚ
hidden_actg        Úhidden_dropout_probÚattention_probs_dropout_probg{®Gáz”?Úinitializer_rangegš™™™™™¹?Údrop_path_rateg�íµ ÷Æ°>Úlayer_norm_epsr   Údecoder_hidden_sizeé
   Ú	max_depthéÿÿÿÿÚhead_in_indexN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   ÚlistÚtupler   r   r   r   r   r   r   Ústrr    Úfloatr!   r"   r#   r$   r%   r'   r)   © ó    úv/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/glpn/configuration_glpn.pyr	   r	      sL  … ñ$ðL €Jà€L�#ÓØÐ˜ÓØ*6€FˆD�‰I˜˜c 3˜h™Ñ'Ó6Ø-9€Iˆt�C‰y˜5  c ™?Ñ*Ó9Ø0B€L�$�s‘)˜e C¨ H™oÑ-ÓBØ/;€K��c‘˜U 3¨ 8™_Ñ,Ó;Ø+7€GˆT�#‰Y˜˜s C˜x™Ñ(Ó7Ø7CÐ˜˜c™ U¨3°¨8¡_Ñ4ÓCØ.:€J��S‘	˜E # s (™OÑ+Ó:Ø€J�ÓØ'*Ð˜ ™Ó*Ø03Ð  %¨#¡+Ó3Ø#Ð�uÓ#Ø"%€N�E˜C‘KÓ%Ø €N�EÓ Ø!Ð˜Ó!Ø€IˆsÓØ€M�3Ôr6   r	   N)	r-   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r5   r6   r7   ú<module>r<      sG   ðñ å .å 3Ý #ñ Ð1Ô2Øô:Ð!ó :ó ó 3ð:ðz ˆ.�r6   