+
    œ°³jO  ã                   ó„   € R t ^ RIHt ^RIHt ^RIHt ^RIHt ^RI	H
t
 ]! RR7      ] ! R R	]4      4       4       tR	.tR
# )zDPT model configuration)Ústrict)Ú%consolidate_backbone_kwargs_to_config)ÚPreTrainedConfig)Úauto_docstring)Ú
AutoConfigzIntel/dpt-large)Ú
checkpointc                   óÎ   a a€ ] tR t^t oRtRtR]/tRt^t	^t
RtRtRtRtRtR	tR
t^t^tRtRtRtRtRtRtRtRtRtRtRtRtRt ^ÿt!Rt"Rt#Rt$Rt%Rt&Rt'V 3R lt(V3R lt)Rt*Vt+V ;t,# )Ú	DPTConfiga8  
is_hybrid (`bool`, *optional*, defaults to `False`):
    Whether to use a hybrid backbone. Useful in the context of loading DPT-Hybrid models.
backbone_out_indices (`list[int]`, *optional*, defaults to `[2, 5, 8, 11]`):
    Indices of the intermediate hidden states to use from backbone.
readout_type (`str`, *optional*, defaults to `"project"`):
    The readout type to use when processing the readout token (CLS token) of the intermediate hidden states of
    the ViT backbone. Can be one of [`"ignore"`, `"add"`, `"project"`].
    - "ignore" simply ignores the CLS token.
    - "add" passes the information from the CLS token to all other tokens by adding the representations.
    - "project" passes information to the other tokens by concatenating the readout to all other tokens before
      projecting the
    representation to the original feature dimension D using a linear layer followed by a GELU non-linearity.
reassemble_factors (`list[int]`, *optional*, defaults to `[4, 2, 1, 0.5]`):
    The up/downsampling factors of the reassemble layers.
neck_hidden_sizes (`list[str]`, *optional*, defaults to `[96, 192, 384, 768]`):
    The hidden sizes to project to for the feature maps of the backbone.
fusion_hidden_size (`int`, *optional*, defaults to 256):
    The number of channels before fusion.
head_in_index (`int`, *optional*, defaults to -1):
    The index of the features to use in the heads.
use_batch_norm_in_fusion_residual (`bool`, *optional*, defaults to `False`):
    Whether to use batch normalization in the pre-activate residual units of the fusion blocks.
use_bias_in_fusion_residual (`bool`, *optional*, defaults to `True`):
    Whether to use bias in the pre-activate residual units of the fusion blocks.
add_projection (`bool`, *optional*, defaults to `False`):
    Whether to add a projection layer before the depth estimation head.
use_auxiliary_head (`bool`, *optional*, defaults to `True`):
    Whether to use an auxiliary head during training.
auxiliary_loss_weight (`float`, *optional*, defaults to 0.4):
    Weight of the cross-entropy loss of the auxiliary head.
semantic_classifier_dropout (`float`, *optional*, defaults to 0.1):
    The dropout ratio for the semantic classification head.
backbone_featmap_shape (`list[int]`, *optional*, defaults to `[1, 1024, 24, 24]`):
    Used only for the `hybrid` embedding type. The shape of the feature maps of the backbone.
neck_ignore_stages (`list[int]`, *optional*, defaults to `[0, 1]`):
    Used only for the `hybrid` embedding type. The stages of the readout layers to ignore.
pooler_output_size (`int`, *optional*):
    Dimensionality of the pooler layer. If None, defaults to `hidden_size`.
pooler_act (`str`, *optional*, defaults to `"tanh"`):
    The activation function to be used by the pooler.

Example:

```python
>>> from transformers import DPTModel, DPTConfig

>>> # Initializing a DPT dpt-large style configuration
>>> configuration = DPTConfig()

>>> # Initializing a model from the dpt-large style configuration
>>> model = DPTModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```ÚdptÚbackbone_configé   i   Úgelug        g{®Gáz”?gê-�™—q=é€  FTÚprojecté   Ngš™™™™™Ù?gš™™™™™¹?Útanhc                ó  <€ V P                   R9  d   \        R4      hV P                  '       d‹   \        V P                  \
        4      '       d   V P                  P                  RR4       \        RRV P                  RRRRR	R
RR. ROR. RORR//VB w  V n        pV P                   R8w  d   \        R4      hMGVP                  R4      f   V P                  e'   \        RRV P                  /VB w  V n        pRV n	        V P                  '       d   V P                  MRV n
        V P                  '       d   V P                  M. V n        V P                  '       d   V P                  MV P                  V n        \        SV `<  ! R/ VB  R# )Úignorer   z8Readout_type must be one of ['ignore', 'add', 'project']Ú
model_typeÚbitr   Údefault_config_typeÚdefault_config_kwargsÚglobal_paddingÚsameÚ
layer_typeÚ
bottleneckÚdepthsÚout_featuresÚembedding_dynamic_paddingTz<Readout type must be 'project' when using `DPT-hybrid` mode.ÚbackboneN)r   Úaddr   © )é   é   é	   )Ústage1Ústage2Ústage3)Úreadout_typeÚ
ValueErrorÚ	is_hybridÚ
isinstancer   ÚdictÚ
setdefaultr   ÚgetÚbackbone_out_indicesÚbackbone_featmap_shapeÚneck_ignore_stagesÚpooler_output_sizeÚhidden_sizeÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€Új/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/dpt/configuration_dpt.pyr5   ÚDPTConfig.__post_init__{   sy  ø€ Ø×ÑÐ$@Ô@ÜÐWÓXÐXà�>�>ˆ>Ü˜$×.Ñ.´×5Ò5Ø×$Ñ$×/Ñ/°¸eÔDä+Pñ ,Ø $× 4Ñ 4ð,à$)ð,ð % fØ  ,ØšiØ"Ò$BØ/°ð'ð,ð ñ,Ñ(ˆDÔ  &ð × Ñ  IÔ-Ü Ð!_Ó`Ð`ð .à�Z‰Z˜
Ó#Ò/°4×3GÑ3GÒ3SÜ+Pñ ,Ø $× 4Ñ 4ð,àñ,Ñ(ˆDÔ  &ð )-ˆDÔ%àEIÇ^Ç^À^ d×&AÒ&AÐY]ˆÔ#Ø=A¿^¿^¸^ $×"9Ò"9ÐQSˆÔØ=A×=T×=TÐ=T $×"9Ò"9ÐZ^×ZjÑZjˆÔÜ‰ÒÑ' Ô'ó    c                óx  <€ V ^8„  d   Qh/ S[ ;R&   RS[ ,          ;R&   S[ R,          ;R&   S[ R,          ;R&   S[;R&   S[S[ ,          R,          ;R&   S[S[ ,          R,          ;R&   S[;R	&   S[R,          ;R
&   S[ S[S[ ,          ,          S[S[ S[ 3,          ,          R,          ;R&   S[ S[S[ ,          ,          S[S[ S[ 3,          ,          R,          ;R&   S[ R,          ;R&   S[;R&   S[R,          ;R&   S[S[ ,          S[S[ R3,          ,          R,          ;R&   S[;R&   S[S[ S[,          ,          S[S[ S[,          R3,          ,          ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[ ;R&   S[ ;R&   S[R,          ;R&   S[R,          ;R&   S[;R&   S[R,          ;R&   S[;R&   S[ ;R&   S[S[ ,          ;R&   S[S[ ,          S[S[ R3,          ,          R,          ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[S[,          R,          ;R &   S[ R,          ;R!&   S[;R"&   # )#é   r3   NÚnum_hidden_layersÚnum_attention_headsÚintermediate_sizeÚ
hidden_actÚhidden_dropout_probÚattention_probs_dropout_probÚinitializer_rangeÚlayer_norm_epsÚ
image_sizeÚ
patch_sizeÚnum_channelsr*   Úqkv_bias.r/   r(   Úreassemble_factorsÚneck_hidden_sizesÚfusion_hidden_sizeÚhead_in_indexÚ!use_batch_norm_in_fusion_residualÚuse_bias_in_fusion_residualÚadd_projectionÚuse_auxiliary_headÚauxiliary_loss_weightÚsemantic_loss_ignore_indexÚsemantic_classifier_dropoutr0   r1   r   r2   Ú
pooler_act)ÚintÚstrÚfloatÚlistÚtupleÚboolr,   r   )ÚformatÚ__classdict__s   "€r9   Ú__annotate__ÚDPTConfig.__annotate__   sÌ  ø‡ ‚ ñD ÑñE ðF ™c•zÑ&ñG ñH ˜t�Ñ(ñI ñJ ˜T•zÑ(ñK ñL ÑñM ñN ¡� tÕ+Ñ1ñO ñP #(©#¥+°Õ"4Ñ:ñQ ñR Ñ#ñS ñT ˜D•LÑ(ñU ñV ‘d™3•i•¡%©©S¨¥/Õ1°DÕ8Ñ>ñW ñX ‘d™3•i•¡%©©S¨¥/Õ1°DÕ8Ñ=ñY ñZ ˜•*Ñ ñ[ ñ\ Ññ] ñ^ �T�kÑ ñ_ ñ` ™s�)¡e©C°¨H¥oÕ5¸Õ<ÑLña ñb Ñ!ñc ñd ™S¡5�[Õ)©E±#¹µ+¸sÐ2BÕ,CÕCÑTñe ñf ™C•y¡5©¨c¨¥?Õ2ÑHñg ñh Ñ!ñi ñj Ññk ñl (,¨d¥{Ñ:ñm ñn "&¨¥Ñ3ño ñp Ñ ñq ñr ˜t�Ñ*ñs ñt !Ñ&ñu ñv !$Ñ)ñw ñx "'©¥Ñ2ñy ñz !¡�I©©c°3¨h­Õ7¸$Õ>ÑRñ{ ñ| ™S�	¡E©#¨s¨(¥OÕ3Ñ<ñ} ñ~ Ñ,Õ,¨tÕ3Ñ:ñ ñ@ ˜d�
Ñ)ñA ñB ÑòC r;   )r   r0   r/   r1   r2   )r=   é   é   é   )r#   r=   é   g      à?)é`   éÀ   r   r   éÿÿÿÿ)rc   i   é   rg   )é    rc   )-Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Úsub_configsr3   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   r*   rI   r/   r(   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   r0   r1   r   r2   rU   r5   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r8   r]   s   @@r9   r	   r	      sÞ   ù‡ € ñ7ðr €JØ$ jÐ1€Kð
 €KØ$&ÐØ&(ÐØ$(ÐØ€JØ.1ÐØ7:Ð Ø#ÐØ#(€NØ;>€JØ;=€JØ €LØ€IØ €HØ?LÐØ!€LØFTÐØ5HÐØ!ÐØ€MØ5:Ð%Ø/3ÐØ €NØ&*ÐØ#&ÐØ&)ÐØ/2ÐØARÐØ6<ÐØ6:€OØ%)ÐØ€Jõ (÷G … r;   r	   N)rm   Úhuggingface_hub.dataclassesr   Úbackbone_utilsr   Úconfiguration_utilsr   Úutilsr   Úauto.configuration_autor   r	   Ú__all__r!   r;   r9   Ú<module>ry      sP   ðñ å .å CÝ 3Ý #Ý 0ñ Ð,Ô-ØôA(Ð ó A(ó ó .ðA(ðH ˆ-‚r;   