
    Z j[	                     |    S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  \" S	S
9\ " S S\5      5       5       rS/rg)zVitPose model configuration    )strict   )%consolidate_backbone_kwargs_to_config)PreTrainedConfig)auto_docstring   )
AutoConfigz"usyd-community/vitpose-base-simple)
checkpointc                   ~   ^  \ rS rSr% SrSrS\0rSr\	\
-  S-  \S'   Sr\\S'   Sr\\S	'   S
r\\S'   U 4S jrSrU =r$ )VitPoseConfig   a  
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{Gz?initializer_range   scale_factorTuse_simple_decoderc                 n   > [        SU R                  SSS/0S.UD6u  U l        n[        TU ]  " S0 UD6  g )Nvitpose_backboneout_indicesr   )r   default_config_typedefault_config_kwargs )r   r   super__post_init__)selfkwargs	__class__s     ڂ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/vitpose/configuration_vitpose.pyr   VitPoseConfig.__post_init__8   sL    'L (
 00 2#01#"6(
 	(
$f 	''    )r   )__name__
__module____qualname____firstlineno____doc__
model_typer	   sub_configsr   dictr   __annotations__r   floatr   intr   boolr   __static_attributes____classcell__)r   s   @r   r   r      sX    * J$j1K6:OT,,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>r6      sO    " . C 3 # 0 ?@&($ &(  A&(R 
r!   