Ë
    ÜÓ^j[	  ã                   ó‚   — d Z ddlmZ ddlm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VitPose model configurationé    )Ústricté   )Ú%consolidate_backbone_kwargs_to_config)ÚPreTrainedConfig)Úauto_docstringé   )Ú
AutoConfigz"usyd-community/vitpose-base-simple)Ú
checkpointc                   ót   ‡ — e Zd ZU dZdZdeiZdZee	z  dz  e
d<   dZee
d<   dZee
d<   d	Zee
d
<   ˆ fd„Zˆ xZS )ÚVitPoseConfigaó  
    scale_factor (`int`, *optional*, defaults to 4):
        Factor to upscale the feature maps coming from the ViT backbone.
    use_simple_decoder (`bool`, *optional*, defaults to `True`):
        Whether to use a `VitPoseSimpleDecoder` to decode the feature maps from the backbone into heatmaps. Otherwise it uses `VitPoseClassicDecoder`.

    Example:

    ```python
    >>> from transformers import VitPoseConfig, VitPoseForPoseEstimation

    >>> # Initializing a VitPose configuration
    >>> configuration = VitPoseConfig()

    >>> # Initializing a model (with random weights) from the configuration
    >>> model = VitPoseForPoseEstimation(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```ÚvitposeÚbackbone_configNg{®Gáz”?Úinitializer_rangeé   Úscale_factorTÚuse_simple_decoderc                 ól   •— t        d| j                  dddgidœ|¤Ž\  | _        }t        ‰| �  di |¤Ž y )NÚvitpose_backboneÚout_indicesr   )r   Údefault_config_typeÚdefault_config_kwargs© )r   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €ú|/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/vitpose/configuration_vitpose.pyr   zVitPoseConfig.__post_init__8   sL   ø€ Ü'Lð (
Ø ×0Ñ0Ø 2Ø#0°1°#Ð"6ñ(
ð ñ	(
Ñ$ˆÔ˜fô 	‰ÑÑ' Ó'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer	   Úsub_configsr   Údictr   Ú__annotations__r   Úfloatr   Úintr   Úboolr   Ú__classcell__)r   s   @r   r   r      sX   ø… ñð* €JØ$ jÐ1€Kà6:€O�TÐ,Ñ,¨tÑ3Ó:Ø#Ð�uÓ#Ø€L�#ÓØ#Ð˜Ó#÷(ð (r   r   N)r#   Úhuggingface_hub.dataclassesr   Úbackbone_utilsr   Úconfiguration_utilsr   Úutilsr   Úauto.configuration_autor	   r   Ú__all__r   r   r   ú<module>r2      sO   ðñ "å .å CÝ 3Ý #Ý 0ñ Ð?Ô@Øô&(Ð$ó &(ó ó Að&(ðR Ð
�r   