§
    ‚Štj[	  ã                   óœ   — 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dS )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                 óz   •— t          d| j        dddgidœ|¤Ž\  | _        } t          ¦   «         j        di |¤Ž d S )NÚvitpose_backboneÚout_indicesr   )r   Údefault_config_typeÚdefault_config_kwargs© )r   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úo/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/vitpose/configuration_vitpose.pyr   zVitPoseConfig.__post_init__8   sf   ø€ Ý'Lð (
Ø Ô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      s¢   ø€ € € € € € ðð ð* €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      sÇ   ðð "Ð !à .Ð .Ð .Ð .Ð .Ð .à CÐ CÐ CÐ CÐ CÐ CØ 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0ð €Ð?Ð@Ñ@Ô@Øð&(ð &(ð &(ð &(ð &(Ð$ñ &(ô &(ñ „ñ AÔ@ð&(ðR Ð
€€€r   