Ë
    þÍ:j.ø  ã                   óF	  — U d dl Z d dlmZ d dlmZ d dlmZmZmZ d dl	Z	d dl	m
Z
mZ ddlmZmZ ddlmZmZ dd	lmZ d
dlmZmZmZ d
dlmZ d
dlmZmZmZ g d¢Z G d„ de«      Z G d„ de
j@                  «      Z! G d„ de
jD                  «      Z# G d„ de
j@                  «      Z$ G d„ d«      Z% G d„ de
jD                  «      Z&de%dee   de'dede&f
d „Z(d!ed"œZ)e*e+ef   e,d#<   i e)¥d$d%d&œ¥Z- G d'„ d(e«      Z. G d)„ d*e«      Z/ G d+„ d,e«      Z0 G d-„ d.e«      Z1 G d/„ d0e«      Z2 G d1„ d2e«      Z3 G d3„ d4e«      Z4 G d5„ d6e«      Z5 G d7„ d8e«      Z6 G d9„ d:e«      Z7 G d;„ d<e«      Z8 G d=„ d>e«      Z9 G d?„ d@e«      Z: G dA„ dBe«      Z; G dC„ dDe«      Z< e«        edEe.jz                  f¬F«      ddGdHœdee.   de'dede&fdI„«       «       Z> e«        edEe/jz                  f¬F«      ddGdHœdee/   de'dede&fdJ„«       «       Z? e«        edEe0jz                  f¬F«      ddGdHœdee0   de'dede&fdK„«       «       Z@ e«        edEe1jz                  f¬F«      ddGdHœdee1   de'dede&fdL„«       «       ZA e«        edEe2jz                  f¬F«      ddGdHœdee2   de'dede&fdM„«       «       ZB e«        edEe3jz                  f¬F«      ddGdHœdee3   de'dede&fdN„«       «       ZC e«        edEe4jz                  f¬F«      ddGdHœdee4   de'dede&fdO„«       «       ZD e«        edP¬F«      ddGdHœdee5   de'dede&fdQ„«       «       ZE e«        edEe6jz                  f¬F«      ddGdHœdee6   de'dede&fdR„«       «       ZF e«        edEe7jz                  f¬F«      ddGdHœdee7   de'dede&fdS„«       «       ZG e«        edEe8jz                  f¬F«      ddGdHœdee8   de'dede&fdT„«       «       ZH e«        edEe9jz                  f¬F«      ddGdHœdee9   de'dede&fdU„«       «       ZI e«        edEe:jz                  f¬F«      ddGdHœdee:   de'dede&fdV„«       «       ZJ e«        edEe;jz                  f¬F«      ddGdHœdee;   de'dede&fdW„«       «       ZK e«        edEe<jz                  f¬F«      ddGdHœdee<   de'dede&fdX„«       «       ZLy)Yé    N)ÚOrderedDict)Úpartial)ÚAnyÚCallableÚOptional)ÚnnÚTensoré   )ÚConv2dNormActivationÚSqueezeExcitation)ÚImageClassificationÚInterpolationMode)Ú_log_api_usage_onceé   )Úregister_modelÚWeightsÚWeightsEnum)Ú_IMAGENET_CATEGORIES)Ú_make_divisibleÚ_ovewrite_named_paramÚhandle_legacy_interface)ÚRegNetÚRegNet_Y_400MF_WeightsÚRegNet_Y_800MF_WeightsÚRegNet_Y_1_6GF_WeightsÚRegNet_Y_3_2GF_WeightsÚRegNet_Y_8GF_WeightsÚRegNet_Y_16GF_WeightsÚRegNet_Y_32GF_WeightsÚRegNet_Y_128GF_WeightsÚRegNet_X_400MF_WeightsÚRegNet_X_800MF_WeightsÚRegNet_X_1_6GF_WeightsÚRegNet_X_3_2GF_WeightsÚRegNet_X_8GF_WeightsÚRegNet_X_16GF_WeightsÚRegNet_X_32GF_WeightsÚregnet_y_400mfÚregnet_y_800mfÚregnet_y_1_6gfÚregnet_y_3_2gfÚregnet_y_8gfÚregnet_y_16gfÚregnet_y_32gfÚregnet_y_128gfÚregnet_x_400mfÚregnet_x_800mfÚregnet_x_1_6gfÚregnet_x_3_2gfÚregnet_x_8gfÚregnet_x_16gfÚregnet_x_32gfc            
       ót   ‡ — e Zd ZdZdedededej                  f   dedej                  f   ddf
ˆ fd	„Zˆ xZ	S )
ÚSimpleStemINz(Simple stem for ImageNet: 3x3, BN, ReLU.Úwidth_inÚ	width_outÚ
norm_layer.Úactivation_layerÚreturnNc                 ó0   •— t         ‰| �  ||dd||¬«       y )Né   r
   ©Úkernel_sizeÚstrider;   r<   )ÚsuperÚ__init__)Úselfr9   r:   r;   r<   Ú	__class__s        €ún/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/torchvision/models/regnet.pyrD   zSimpleStemIN.__init__7   s%   ø€ ô 	‰ÑØ�i¨Q°qÀZÐbrð 	õ 	
ó    )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úintr   r   ÚModulerD   Ú__classcell__©rF   s   @rG   r8   r8   4   sZ   ø„ Ù2ð	
àð	
ð ð	
ð ˜S "§)¡)˜^Ñ,ð		
ð
 # 3¨¯	©	 >Ñ2ð	
ð 
÷	
ñ 	
rH   r8   c                   óŠ   ‡ — e Zd ZdZdededededej                  f   dedej                  f   ded	ed
e	e   ddfˆ fd„Z
ˆ xZS )ÚBottleneckTransformz/Bottleneck transformation: 1x1, 3x3 [+SE], 1x1.r9   r:   rB   r;   .r<   Úgroup_widthÚbottleneck_multiplierÚse_ratior=   Nc	           	      ó>  •— t        «       }	t        t        ||z  «      «      }
|
|z  }t        ||
dd||¬«      |	d<   t        |
|
d||||¬«      |	d<   |r(t        t        ||z  «      «      }t	        |
||¬«      |	d<   t        |
|dd|d ¬«      |	d	<   t
        ‰| �  |	«       y )
Nr   r@   Úar?   )rA   rB   Úgroupsr;   r<   Úb)Úinput_channelsÚsqueeze_channelsÚ
activationÚseÚc)r   rM   Úroundr   r   rC   rD   )rE   r9   r:   rB   r;   r<   rS   rT   rU   ÚlayersÚw_bÚgÚwidth_se_outrF   s                €rG   rD   zBottleneckTransform.__init__F   sÆ   ø€ ô /:«mˆÜ”%˜	Ð$9Ñ9Ó:Ó;ˆØ�;Ñˆä*Ø�c q°¸zÐ\lô
ˆˆs‰ô +Ø� !¨F¸1ÈÐfvô
ˆˆs‰ñ ô œu X°Ñ%8Ó9Ó:ˆLÜ,Ø"Ø!-Ø+ôˆF�4‰Lô +Ø�¨°!À
Ð]aô
ˆˆs‰ô 	‰Ñ˜Õ rH   ©rI   rJ   rK   rL   rM   r   r   rN   Úfloatr   rD   rO   rP   s   @rG   rR   rR   C   s†   ø„ Ù9ð#!àð#!ð ð#!ð ð	#!ð
 ˜S "§)¡)˜^Ñ,ð#!ð # 3¨¯	©	 >Ñ2ð#!ð ð#!ð  %ð#!ð ˜5‘/ð#!ð 
÷#!ñ #!rH   rR   c                   ó¢   ‡ — e Zd ZdZ	 	 	 ddededededej                  f   dedej                  f   d	ed
ede	e   ddfˆ fd„Z
dedefd„Zˆ xZS )ÚResBottleneckBlockz>Residual bottleneck block: x + F(x), F = bottleneck transform.Nr9   r:   rB   r;   .r<   rS   rT   rU   r=   c	           
      óÂ   •— t         ‰
| �  «        d | _        ||k7  xs |dk7  }	|	rt        ||d||d ¬«      | _        t	        ||||||||«      | _         |d¬«      | _        y )Nr   r@   T)Úinplace)rC   rD   Úprojr   rR   Úfr\   )rE   r9   r:   rB   r;   r<   rS   rT   rU   Úshould_projrF   s             €rG   rD   zResBottleneckBlock.__init__o   s}   ø€ ô 	‰ÑÔð ˆŒ	Ø 9Ñ,Ò>°&¸A±+ˆÙÜ,Ø˜)°¸6ÈjÐkoôˆDŒIô %ØØØØØØØ!Øó	
ˆŒñ +°4Ô8ˆ�rH   Úxc                 ó¬   — | j                   �$| j                  |«      | j                  |«      z   }n|| j                  |«      z   }| j                  |«      S ©N)rj   rk   r\   ©rE   rm   s     rG   ÚforwardzResBottleneckBlock.forward�   sF   € Ø�9‰9Ð Ø—	‘	˜!“˜tŸv™v a›yÑ(‰Aà�D—F‘F˜1“I‘ˆAØ�‰˜qÓ!Ð!rH   )r   ç      ð?N)rI   rJ   rK   rL   rM   r   r   rN   re   r   rD   r	   rq   rO   rP   s   @rG   rg   rg   l   s    ø„ ÙHð Ø'*Ø$(ñ9àð9ð ð9ð ð	9ð
 ˜S "§)¡)˜^Ñ,ð9ð # 3¨¯	©	 >Ñ2ð9ð ð9ð  %ð9ð ˜5‘/ð9ð 
õ9ð@"˜ð " F÷ "rH   rg   c                   óº   ‡ — e Zd ZdZ	 	 ddedededededej                  f   d	edej                  f   d
edej                  f   dedede	e   deddfˆ fd„Z
ˆ xZS )ÚAnyStagez;AnyNet stage (sequence of blocks w/ the same output shape).Nr9   r:   rB   ÚdepthÚblock_constructor.r;   r<   rS   rT   rU   Ústage_indexr=   c                 ó¬   •— t         ‰| �  «        t        |«      D ]7  } ||dk(  r|n|||dk(  r|nd||||	|
«      }| j                  d|› d|› �|«       Œ9 y )Nr   r   Úblockú-)rC   rD   ÚrangeÚ
add_module)rE   r9   r:   rB   ru   rv   r;   r<   rS   rT   rU   rw   Úiry   rF   s                 €rG   rD   zAnyStage.__init__š   sr   ø€ ô 	‰ÑÔä�u“ò 	>ˆAÙ%Ø šF‘¨	ØØ˜qš&‘ aØØ ØØ%Øó	ˆEð �O‰O˜e K =°°!°Ð5°uÕ=ñ	>rH   )Nr   rd   rP   s   @rG   rt   rt   —   s¹   ø„ ÙEð %)Øñ>àð>ð ð>ð ð	>ð
 ð>ð $ C¨¯© NÑ3ð>ð ˜S "§)¡)˜^Ñ,ð>ð # 3¨¯	©	 >Ñ2ð>ð ð>ð  %ð>ð ˜5‘/ð>ð ð>ð 
÷>ñ >rH   rt   c                   óê   — e Zd Z	 ddee   dee   dee   dee   dee   dee   ddfd	„Ze	 	 dd
ededededededee   de	dd fd„«       Z
d„ Zedee   dee   dee   deee   ee   f   fd„«       Zy)ÚBlockParamsNÚdepthsÚwidthsÚgroup_widthsÚbottleneck_multipliersÚstridesrU   r=   c                 óX   — || _         || _        || _        || _        || _        || _        y ro   ©r€   r�   r‚   rƒ   r„   rU   )rE   r€   r�   r‚   rƒ   r„   rU   s          rG   rD   zBlockParams.__init__º   s0   € ð ˆŒØˆŒØ(ˆÔØ&<ˆÔ#ØˆŒØ ˆ�rH   ru   Úw_0Úw_aÚw_mrS   rT   Úkwargsc           
      ó  — d}	d}
|dk  s|dk  s|dk  s|dz  dk7  rt        d«      ‚t        j                  |«      |z  |z   }t        j                  t        j                  ||z  «      t        j                  |«      z  «      }t        j                  t        j                  |t        j                  ||«      z  |	«      «      |	z  j                  «       j                  «       }t        t        |«      «      }t        |dgz   dg|z   |dgz   dg|z   «      }|D ����cg c]  \  }}}}||k7  xs ||k7  ‘Œ }}}}}t        ||dd «      D ��cg c]
  \  }}|sŒ	|‘Œ }}}t        j                  t        j                  t        |«      D ��cg c]
  \  }}|sŒ	|‘Œ c}}«      «      j                  «       j                  «       }|
g|z  }|g|z  }|g|z  }| j!                  |||«      \  }} | ||||||¬«      S c c}}}}w c c}}w c c}}w )	a)  
        Programmatically compute all the per-block settings,
        given the RegNet parameters.

        The first step is to compute the quantized linear block parameters,
        in log space. Key parameters are:
        - `w_a` is the width progression slope
        - `w_0` is the initial width
        - `w_m` is the width stepping in the log space

        In other terms
        `log(block_width) = log(w_0) + w_m * block_capacity`,
        with `bock_capacity` ramping up following the w_0 and w_a params.
        This block width is finally quantized to multiples of 8.

        The second step is to compute the parameters per stage,
        taking into account the skip connection and the final 1x1 convolutions.
        We use the fact that the output width is constant within a stage.
        é   r
   r   r   zInvalid RegNet settingsNéÿÿÿÿr†   )Ú
ValueErrorÚtorchÚaranger_   ÚlogÚmathÚdivideÚpowrM   ÚtolistÚlenÚsetÚzipÚdiffÚtensorÚ	enumerateÚ"_adjust_widths_groups_compatibilty)Úclsru   r‡   rˆ   r‰   rS   rT   rU   rŠ   ÚQUANTÚSTRIDEÚwidths_contÚblock_capacityÚblock_widthsÚ
num_stagesÚsplit_helperÚwÚwpÚrÚrpÚsplitsÚtÚstage_widthsÚdÚstage_depthsr„   rƒ   r‚   s                               rG   Úfrom_init_paramszBlockParams.from_init_paramsÊ   s  € ð@ ˆØˆà�Š7�c˜Q’h #¨¢(¨c°A©g¸ªlÜÐ6Ó7Ð7ä—l‘l 5Ó)¨CÑ/°#Ñ5ˆÜŸ™¤U§Y¡Y¨{¸SÑ/@Ó%AÄDÇHÁHÈSÃMÑ%QÓRˆÜŸ™¤E§L¡L°´u·y±yÀÀnÓ7UÑ1UÐW\Ó$]Ó^ÐafÑf×kÑkÓm×tÑtÓvˆÜœ˜\Ó*Ó+ˆ
ô Ø˜A˜3ÑØˆC�,ÑØ˜A˜3ÑØˆC�,Ñó	
ˆð :F×FÑF©¨¨B°°2�!�r‘'Ò$˜Q "™WÑ$ÐFˆÓFä&)¨,¸¸sÀ¸Ó&D×J™d˜a ÊšÐJˆÑJÜ—z‘z¤%§,¡,¼iÈÓ>O×/U±d°a¸ÒST²Ó/UÓ"VÓW×[Ñ[Ó]×dÑdÓfˆà�(˜ZÑ'ˆØ"7Ð!8¸:Ñ!EÐØ#�} zÑ1ˆð &)×%KÑ%KØÐ0°,ó&
Ñ"ˆ�lñ ØØØ%Ø#9ØØô
ð 	
ùõ GùãJùÛ/Us   ÄG5
Å

G=ÅG=Æ
HÆHc                 ó„   — t        | j                  | j                  | j                  | j                  | j
                  «      S ro   )r˜   r�   r„   r€   r‚   rƒ   )rE   s    rG   Ú_get_expanded_paramsz BlockParams._get_expanded_params  s-   € Ü�4—;‘; §¡¨d¯k©k¸4×;LÑ;LÈd×NiÑNiÓjÐjrH   r«   Úbottleneck_ratiosc                 ó‚  — t        | |«      D ��cg c]  \  }}t        ||z  «      ‘Œ }}}t        ||«      D ��cg c]  \  }}t        ||«      ‘Œ }}}t        ||«      D ��cg c]  \  }}t        ||«      ‘Œ }	}}t        |	|«      D ��cg c]  \  }}t        ||z  «      ‘Œ } }}| |fS c c}}w c c}}w c c}}w c c}}w )zl
        Adjusts the compatibility of widths and groups,
        depending on the bottleneck ratio.
        )r˜   rM   Úminr   )
r«   r±   r‚   r¥   rY   r�   rb   Úw_botÚgroup_widths_minÚws_bots
             rG   rœ   z.BlockParams._adjust_widths_groups_compatibilty  s¾   € ô *-¨\Ð;LÓ)M×N¡  A”#�a˜!‘e•*ÐNˆÑNÜ:=¸lÈFÓ:S×T©h¨a°œC  5�MÐTÐÑTô =@ÀÐHXÓ<Y×Z±°°q”/ %¨Õ+ÐZˆÑZÜ7:¸6ÐCTÓ7U×V©8¨5°!œ˜E A™I�ÐVˆÑVØÐ-Ð-Ð-ùó OùÛTùó [ùÛVs   �B)ºB/Á"B5Â
B;ro   )rr   N)rI   rJ   rK   ÚlistrM   re   r   rD   Úclassmethodr   r®   r°   ÚstaticmethodÚtuplerœ   © rH   rG   r   r   ¹   sE  „ ð %)ñ!à�S‘	ð!ð �S‘	ð!ð ˜3‘ið	!ð
 !% U¡ð!ð �c‘ð!ð ˜5‘/ð!ð 
ó!ð  ð (+Ø$(ñF
àðF
ð ðF
ð ð	F
ð
 ðF
ð ðF
ð  %ðF
ð ˜5‘/ðF
ð ðF
ð 
òF
ó ðF
òPkð ð.Ø˜3‘ið.Ø48¸±Kð.ØOSÐTWÉyð.à	ˆt�C‰y˜$˜s™)Ð#Ñ	$ò.ó ñ.rH   r   c                   óî   ‡ — e Zd Z	 	 	 	 	 	 ddedededeedej                  f      deedej                  f      deedej                  f      d	eedej                  f      d
dfˆ fd„Z	de
d
e
fd„Zˆ xZS )r   NÚblock_paramsÚnum_classesÚ
stem_widthÚ	stem_type.Ú
block_typer;   r\   r=   c                 ó<  •— t         ‰| �  «        t        | «       |€t        }|€t        j
                  }|€t        }|€t        j                  } |d|||«      | _        |}g }	t        |j                  «       «      D ]G  \  }
\  }}}}}|	j                  d|
dz   › �t        ||||||||||j                  |
dz   ¬«      f«       |}ŒI t	        j                  t        |	«      «      | _        t	        j"                  d«      | _        t	        j&                  ||¬«      | _        | j+                  «       D �]j  }t-        |t        j.                  «      ro|j0                  d   |j0                  d   z  |j2                  z  }t        j4                  j7                  |j8                  dt;        j<                  d	|z  «      ¬
«       Œ�t-        |t        j
                  «      rSt        j4                  j?                  |j8                  «       t        j4                  jA                  |jB                  «       Œút-        |t        j&                  «      s�Œt        j4                  j7                  |j8                  dd¬
«       t        j4                  jA                  |jB                  «       �Œm y )Nr?   ry   r   )rw   ©r   r   )Úin_featuresÚout_featuresr   g        ç       @)ÚmeanÚstdg{®Gáz„?)"rC   rD   r   r8   r   ÚBatchNorm2drg   ÚReLUÚstemr›   r°   Úappendrt   rU   Ú
Sequentialr   Útrunk_outputÚAdaptiveAvgPool2dÚavgpoolÚLinearÚfcÚmodulesÚ
isinstanceÚConv2drA   Úout_channelsÚinitÚnormal_Úweightr’   ÚsqrtÚones_Úzeros_Úbias)rE   r½   r¾   r¿   rÀ   rÁ   r;   r\   Úcurrent_widthÚblocksr}   r:   rB   ru   rS   rT   ÚmÚfan_outrF   s                     €rG   rD   zRegNet.__init__)  s!  ø€ ô 	‰ÑÔÜ˜DÔ!àÐÜ$ˆIØÐÜŸ™ˆJØÐÜ+ˆJØÐÜŸ™ˆJñ ØØØØó	
ˆŒ	ð #ˆàˆô �|×8Ñ8Ó:Ó;ò	&ñ 
ˆAñ 
ØØØØØ!à�M‰Mà˜A˜a™C˜5�MÜØ%Ø!ØØØ"Ø"Ø"Ø#Ø-Ø$×-Ñ-Ø$%¨¡Eôðôð& &‰Mð5	&ô8 ŸM™M¬+°fÓ*=Ó>ˆÔä×+Ñ+¨FÓ3ˆŒÜ—)‘)¨ÀKÔPˆŒð —‘“ó 
	'ˆAÜ˜!œRŸY™YÔ'àŸ-™-¨Ñ*¨Q¯]©]¸1Ñ-=Ñ=ÀÇÁÑN�Ü—‘—‘ §¡¨s¼¿	¹	À#ÈÁ-Ó8P�ÕQÜ˜AœrŸ~™~Ô.Ü—‘—‘˜aŸh™hÔ'Ü—‘—‘˜qŸv™vÕ&Ü˜AœrŸy™yÖ)Ü—‘—‘ §¡¨s¸�Ô=Ü—‘—‘˜qŸv™vÖ&ñ
	'rH   rm   c                 ó²   — | j                  |«      }| j                  |«      }| j                  |«      }|j                  d¬«      }| j	                  |«      }|S )Nr   )Ú	start_dim)rË   rÎ   rÐ   ÚflattenrÒ   rp   s     rG   rq   zRegNet.forwardx  sN   € Ø�I‰I�a‹LˆØ×Ñ˜aÓ ˆà�L‰L˜‹OˆØ�I‰I ˆIÓ"ˆØ�G‰G�A‹JˆàˆrH   )iè  é    NNNN)rI   rJ   rK   r   rM   r   r   r   rN   rD   r	   rq   rO   rP   s   @rG   r   r   (  sÏ   ø„ ð  ØØ8<Ø9=Ø9=Ø9=ñM'à!ðM'ð ðM'ð ð	M'ð
 ˜H S¨"¯)©) ^Ñ4Ñ5ðM'ð ˜X c¨2¯9©9 nÑ5Ñ6ðM'ð ˜X c¨2¯9©9 nÑ5Ñ6ðM'ð ˜X c¨2¯9©9 nÑ5Ñ6ðM'ð 
õM'ð^˜ð  F÷ rH   r   r½   ÚweightsÚprogressrŠ   r=   c                 ó  — |�#t        |dt        |j                  d   «      «       |j                  dt	        t
        j                  dd¬«      «      }t        | fd|i|¤Ž}|�"|j                  |j                  |d¬«      «       |S )	Nr¾   Ú
categoriesr;   gñhãˆµøä>gš™™™™™¹?)ÚepsÚmomentumT)rç   Ú
check_hash)
r   r–   ÚmetaÚpopr   r   rÉ   r   Úload_state_dictÚget_state_dict)r½   ræ   rç   rŠ   r;   Úmodels         rG   Ú_regnetrò   ƒ  s€   € ð ÐÜ˜f m´S¸¿¹ÀlÑ9SÓ5TÔUà—‘˜L¬'´"·.±.ÀeÐVYÔ*ZÓ[€JÜ�<ÑA¨JÐA¸&ÑA€EàÐØ×Ñ˜g×4Ñ4¸hÐSWÐ4ÓXÔYà€LrH   rÃ   )Úmin_sizeré   Ú_COMMON_METAz(https://github.com/facebookresearch/SWAGz:https://github.com/facebookresearch/SWAG/blob/main/LICENSE)ÚrecipeÚlicensec                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r   z?https://download.pytorch.org/models/regnet_y_400mf-c65dace8.pthéà   ©Ú	crop_sizeiPIB úRhttps://github.com/pytorch/vision/tree/main/references/classification#small-modelsúImageNet-1Kgmçû©ñ‚R@gçû©ñÒíV@©zacc@1zacc@5gî|?5^ºÙ?gu“VÎ0@úXThese weights reproduce closely the results of the paper using a simple training recipe.©Ú
num_paramsrõ   Ú_metricsÚ_opsÚ
_file_sizeÚ_docs©ÚurlÚ
transformsrí   z?https://download.pytorch.org/models/regnet_y_400mf-e6988f5f.pthéè   ©rú   Úresize_sizeú8https://github.com/pytorch/vision/issues/3995#new-recipegú~j¼tóR@gsh‘í|/W@á$  
                These weights improve upon the results of the original paper by using a modified version of TorchVision's
                `new training recipe
                <https://pytorch.org/blog/how-to-train-state-of-the-art-models-using-torchvision-latest-primitives/>`_.
            N©
rI   rJ   rK   r   r   r   rô   ÚIMAGENET1K_V1ÚIMAGENET1K_V2ÚDEFAULTr»   rH   rG   r   r   ¡  ó«   „ ÙØMÙÐ.¸#Ô>ð
Øð
à!ØjàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØMÙÐ.¸#È3ÔOð
Øð
à!ØPàØ#Ø#ñ ðð Ø ðò
ô€Mð, �GrH   r   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r   z?https://download.pytorch.org/models/regnet_y_800mf-1b27b58c.pthrø   rù   i 'b rû   rü   g{®GáS@gbX9´HW@rý   gã¥›Ä °ê?g /Ý$Æ8@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_y_800mf-58fc7688.pthr  r	  r  g¢E¶óý´S@gã¥›Ä  W@r  Nr  r»   rH   rG   r   r   Í  r  rH   r   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r   z?https://download.pytorch.org/models/regnet_y_1_6gf-b11a554e.pthrø   rù   i~ïª rû   rü   gÍÌÌÌÌ|S@gçû©ñÒ}W@rý   g˜nƒÀÊù?gú~j¼t“E@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_y_1_6gf-0d7bc02a.pthr  r	  r  gòÒMb8T@g#Ûù~jÜW@r  Nr  r»   rH   rG   r   r   ù  s«   „ ÙØMÙÐ.¸#Ô>ð
Øð
à"ØjàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØMÙÐ.¸#È3ÔOð
Øð
à"ØPàØ#Ø#ñ ðð Ø ðò
ô€Mð, �GrH   r   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r   z?https://download.pytorch.org/models/regnet_y_3_2gf-b5a9779c.pthrø   rù   i2“(úShttps://github.com/pytorch/vision/tree/main/references/classification#medium-modelsrü   gé&1¬¼S@g¾Ÿ/Ý¤W@rý   gœÄ °rh	@g?5^ºI¤R@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_y_3_2gf-9180c971.pthr  r	  r  g+‡Ù~T@g‘í|?5þW@r  Nr  r»   rH   rG   r   r   %  ó«   „ ÙØMÙÐ.¸#Ô>ð
Øð
à"ØkàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØMÙÐ.¸#È3ÔOð
Øð
à"ØPàØ#Ø#ñ ðð Ø ðò
ô€Mð, �GrH   r   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r   z=https://download.pytorch.org/models/regnet_y_8gf-d0d0e4a8.pthrø   rù   iàéXr  rü   g5^ºIT@gP�—nÃW@rý   gV-ò @gßO�—nÖb@rþ   rÿ   r  z=https://download.pytorch.org/models/regnet_y_8gf-dc2b1b54.pthr  r	  r  g¢E¶óý´T@g…ëQ¸X@r  Nr  r»   rH   rG   r   r   Q  ó«   „ ÙØKÙÐ.¸#Ô>ð
Øð
à"ØkàØ#Ø#ñ ðð Ø!Øsò
ô€Mñ$ ØKÙÐ.¸#È3ÔOð
Øð
à"ØPàØ#Ø#ñ ðð Ø!ðò
ô€Mð, �GrH   r   c                   óX  — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedde	j                  ¬«      i e¥ddddd	œiddddœ¥¬«      Z ed eedde	j                  ¬«      i e¥dddd d!d	œid
dd"d#œ¥¬«      ZeZy$)%r   z>https://download.pytorch.org/models/regnet_y_16gf-9e6ed7dd.pthrø   rù   iü{ûúRhttps://github.com/pytorch/vision/tree/main/references/classification#large-modelsrü   gB`åÐ"T@g�Âõ(\ÏW@rý   gmçû©ñÒ/@g¤p=
×÷s@rþ   rÿ   r  z>https://download.pytorch.org/models/regnet_y_16gf-3e4a00f9.pthr  r	  r  gbX9´¸T@g¢E¶óýX@r  zChttps://download.pytorch.org/models/regnet_y_16gf_swag-43afe44d.pthé€  ©rú   r
  ÚinterpolationgTã¥›Ä€U@gú~j¼tƒX@g®Gáz^G@úË
                These weights are learnt via transfer learning by end-to-end fine-tuning the original
                `SWAG <https://arxiv.org/abs/2201.08371>`_ weights on ImageNet-1K data.
            ©r   r  r  r  r  zFhttps://download.pytorch.org/models/regnet_y_16gf_lc_swag-f3ec0043.pthú+https://github.com/pytorch/vision/pull/5793gX9´ÈvþT@gV-²�OX@úã
                These weights are composed of the original frozen `SWAG <https://arxiv.org/abs/2201.08371>`_ trunk
                weights and a linear classifier learnt on top of them trained on ImageNet-1K data.
            ©rõ   r   r  r  r  r  N©rI   rJ   rK   r   r   r   rô   r  r  r   ÚBICUBICÚ_COMMON_SWAG_METAÚIMAGENET1K_SWAG_E2E_V1ÚIMAGENET1K_SWAG_LINEAR_V1r  r»   rH   rG   r   r   }  sh  „ ÙØLÙÐ.¸#Ô>ð
Øð
à"ØjàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØLÙÐ.¸#È3ÔOð
Øð
à"ØPàØ#Ø#ñ ðð Ø ðò
ô€Mñ, %ØQÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
à"àØ#Ø#ñ ðð Ø ðò
ôÐñ, !(ØTÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
àCØ"àØ#Ø#ñ ðð Ø ðò
ô!Ðð. �GrH   r   c                   óX  — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedde	j                  ¬«      i e¥ddddd	œiddddœ¥¬«      Z ed eedde	j                  ¬«      i e¥dddd d!d	œid
dd"d#œ¥¬«      ZeZy$)%r   z>https://download.pytorch.org/models/regnet_y_32gf-4dee3f7a.pthrø   rù   iò<¥r  rü   gÕxé&18T@gö(\�ÂÕW@rý   g¤p=
×#@@gøSã¥›P�@rþ   rÿ   r  z>https://download.pytorch.org/models/regnet_y_32gf-8db6d4b5.pthr  r	  r  gd;ßO�×T@gZd;ßX@r  zChttps://download.pytorch.org/models/regnet_y_32gf_swag-04fdfa75.pthr  r  gƒÀÊ¡µU@gºI+—X@g¾Ÿ/Ý´W@r  r  zFhttps://download.pytorch.org/models/regnet_y_32gf_lc_swag-e1583746.pthr   g+‡ÙÎ'U@g…ëQ¸^X@r!  r"  Nr#  r»   rH   rG   r   r   Ö  sh  „ ÙØLÙÐ.¸#Ô>ð
Øð
à#ØjàØ#Ø#ñ ðð Ø!Øsò
ô€Mñ$ ØLÙÐ.¸#È3ÔOð
Øð
à#ØPàØ#Ø#ñ ðð Ø!ðò
ô€Mñ, %ØQÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
à#àØ#Ø#ñ ðð Ø!ðò
ôÐñ, !(ØTÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
àCØ#àØ#Ø#ñ ðð Ø!ðò
ô!Ðð. �GrH   r   c                   óÊ   — e Zd Z ed eeddej                  ¬«      i e¥dddddœid	d
ddœ¥¬«      Z	 ed eeddej                  ¬«      i e¥ddddddœidd
ddœ¥¬«      Z
e	Zy)r    zDhttps://download.pytorch.org/models/regnet_y_128gf_swag-c8ce3e52.pthr  r  i^o&rü   g;ßO�—V@gÏ÷Sã¥«X@rý   g…ëQ¸iw@gã¥›Ä ;£@r  r  r  zGhttps://download.pytorch.org/models/regnet_y_128gf_lc_swag-cbe8ce12.pthrø   r   g1¬Z„U@g¼t“vX@gþÔxé&á_@r!  r"  N)rI   rJ   rK   r   r   r   r   r$  r%  r&  r'  r  r»   rH   rG   r    r    /  sÄ   „ Ù$ØRÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
à#àØ#Ø#ñ ðð Ø"ðò
ôÐñ, !(ØUÙØ¨3¸CÐO`×OhÑOhô
ð
Øð
àCØ#àØ#Ø#ñ ðð Ø"ðò
ô!Ðð. %�GrH   r    c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r!   z?https://download.pytorch.org/models/regnet_x_400mf-adf1edd5.pthrø   rù   i¨ÜS rû   rü   gL7‰A`5R@gÍÌÌÌÌ¼V@rý   gåÐ"Ûù~Ú?g5^ºIB5@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_x_400mf-62229a5f.pthr  r	  úDhttps://github.com/pytorch/vision/issues/3995#new-recipe-with-fixresgžï§ÆK·R@gøSã¥›W@goƒÀÊA5@r  Nr  r»   rH   rG   r!   r!   `  ó«   „ ÙØMÙÐ.¸#Ô>ð
Øð
à!ØjàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØMÙÐ.¸#È3ÔOð
Øð
à!Ø\àØ#Ø#ñ ðð Ø ðò
ô€Mð, �GrH   r!   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r"   z?https://download.pytorch.org/models/regnet_x_800mf-ad17e45c.pthrø   rù   iÆn rû   rü   g!°rh‘ÍR@gƒÀÊ¡EW@rý   gš™™™™™é?gR¸…ëñ;@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_x_800mf-94a99ebd.pthr  r	  r+  gÅ °rhaS@g¾Ÿ/ÝtW@r  Nr  r»   rH   rG   r"   r"   Œ  s«   „ ÙØMÙÐ.¸#Ô>ð
Øð
à!ØjàØ#Ø#ñ ðð Ø Øsò
ô€Mñ$ ØMÙÐ.¸#È3ÔOð
Øð
à!Ø\àØ#Ø#ñ ðð Ø ðò
ô€Mð, �GrH   r"   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r#   z?https://download.pytorch.org/models/regnet_x_1_6gf-e3633e7f.pthrø   rù   iø:Œ rû   rü   gÃõ(\�BS@g\�Âõ(\W@rý   gÙÎ÷Sã¥ù?g¬Zd«A@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_x_1_6gf-a12f2b72.pthr  r	  r+  g˜nƒÀêS@g^ºI»W@r  Nr  r»   rH   rG   r#   r#   ¸  r,  rH   r#   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r$   z?https://download.pytorch.org/models/regnet_x_3_2gf-f342aeae.pthrø   rù   i(hé r  rü   gžï§ÆK—S@gsh‘í|W@rý   gÑ"Ûù~j	@gTã¥›Ä`M@rþ   rÿ   r  z?https://download.pytorch.org/models/regnet_x_3_2gf-7071aa85.pthr  r	  r  g�•C‹LT@gìQ¸…ÛW@r  Nr  r»   rH   rG   r$   r$   ä  r  rH   r$   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r%   z=https://download.pytorch.org/models/regnet_x_8gf-03ceed89.pthrø   rù   i¨Ô[r  rü   g¼t“ÖS@g–C‹lç«W@rý   g{®Gáú@g;ßO�—îb@rþ   rÿ   r  z=https://download.pytorch.org/models/regnet_x_8gf-2b70d774.pthr  r	  r  gÏ÷Sã¥kT@g¬ZdëW@r  Nr  r»   rH   rG   r%   r%     r  rH   r%   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r&   z>https://download.pytorch.org/models/regnet_x_16gf-2007eb11.pthrø   rù   iˆ9<r  rü   gÁÊ¡E¶T@g#Ûù~j¼W@rý   goƒÀÊá/@gòÒMbôi@rþ   rÿ   r  z>https://download.pytorch.org/models/regnet_x_16gf-ba3796d7.pthr  r	  r  gçû©ñÒ­T@g�•C‹X@r  Nr  r»   rH   rG   r&   r&   <  s«   „ ÙØLÙÐ.¸#Ô>ð
Øð
à"ØkàØ#Ø#ñ ðð Ø!Øsò
ô€Mñ$ ØLÙÐ.¸#È3ÔOð
Øð
à"ØPàØ#Ø#ñ ðð Ø!ðò
ô€Mð, �GrH   r&   c                   óž   — e Zd Z ed eed¬«      i e¥dddddd	œid
dddœ¥¬«      Z ed eedd¬«      i e¥dddddd	œid
dddœ¥¬«      ZeZ	y)r'   z>https://download.pytorch.org/models/regnet_x_32gf-9d47f8d0.pthrø   rù   ièmr  rü   g+‡ÙÎ'T@gZd;ßÏW@rý   g#Ûù~j¼?@g´Èv¾ŸÀy@rþ   rÿ   r  z>https://download.pytorch.org/models/regnet_x_32gf-6eb8fdc6.pthr  r	  r  g7‰A`åÀT@gßO�—nX@r  Nr  r»   rH   rG   r'   r'   h  s«   „ ÙØLÙÐ.¸#Ô>ð
Øð
à#ØjàØ#Ø#ñ ðð Ø!Øsò
ô€Mñ$ ØLÙÐ.¸#È3ÔOð
Øð
à#ØPàØ#Ø#ñ ðð Ø!ðò
ô€Mð, �GrH   r'   Ú
pretrained)ræ   T)ræ   rç   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a   
    Constructs a RegNetY_400MF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_400MF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_400MF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_400MF_Weights
        :members:
    é   é0   g¤p=
×ã;@g¸…ëQ¸ @rŒ   ç      Ð?©ru   r‡   rˆ   r‰   rS   rU   r»   )r   Úverifyr   r®   rò   ©ræ   rç   rŠ   Úparamss       rG   r(   r(   ”  sM   € ô( %×+Ñ+¨GÓ4€Gä×)Ñ)Ðx°¸ÀÈ4Ð]^ÐimÑxÐqwÑx€FÜ�6˜7 HÑ7°Ñ7Ð7rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a   
    Constructs a RegNetY_800MF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_800MF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_800MF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_800MF_Weights
        :members:
    é   é8   gìQ¸…kC@g333333@r5  r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r)   r)   ®  sM   € ô( %×+Ñ+¨GÓ4€Gä×)Ñ)Ðx°¸ÀÈ3Ð\^ÐimÑxÐqwÑx€FÜ�6˜7 HÑ7°Ñ7Ð7rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a   
    Constructs a RegNetY_1.6GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_1_6GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_1_6GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_1_6GF_Weights
        :members:
    é   r6  gö(\�Âµ4@g333333@é   r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r*   r*   È  óT   € ô( %×+Ñ+¨GÓ4€Gä×)Ñ)ð Ø�b˜e¨¸2ÈñØPVñ€Fô �6˜7 HÑ7°Ñ7Ð7rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a   
    Constructs a RegNetY_3.2GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_3_2GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_3_2GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_3_2GF_Weights
        :members:
    é   éP   gq=
×£PE@gHáz®G@rA  r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r+   r+   ä  rB  rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a˜  
    Constructs a RegNetY_8GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_8GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_8GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_8GF_Weights
        :members:
    é   éÀ   g®Gáz4S@g…ëQ¸…@r>  r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r,   r,      sT   € ô( #×)Ñ)¨'Ó2€Gä×)Ñ)ð Ø�c˜u¨$¸BÈñØQWñ€Fô �6˜7 HÑ7°Ñ7Ð7rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	aœ  
    Constructs a RegNetY_16GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_16GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_16GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_16GF_Weights
        :members:
    é   éÈ   g…ëQ¸ŽZ@g×£p=
×@ép   r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r-   r-     óT   € ô( $×*Ñ*¨7Ó3€Gä×)Ñ)ð Ø�c˜v¨4¸SÈ4ñØSYñ€Fô �6˜7 HÑ7°Ñ7Ð7rH   c           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )aœ  
    Constructs a RegNetY_32GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_32GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_32GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_32GF_Weights
        :members:
    é   r  g)\�Âõø\@g=
×£p=@r7  r8  r»   )r   r9  r   r®   rò   r:  s       rG   r.   r.   8  rM  rH   )r3  Nc           
      ó€   — t         j                  | «      } t        j                  ddddddddœ|¤Ž}t	        || |fi |¤ŽS )	a   
    Constructs a RegNetY_128GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_Y_128GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_Y_128GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_Y_128GF_Weights
        :members:
    r@  iÈ  gÃõ(\�d@g)\�Âõ(@i  r7  r8  r»   )r    r9  r   r®   rò   r:  s       rG   r/   r/   T  sT   € ô( %×+Ñ+¨GÓ4€Gä×)Ñ)ð Ø�c˜v¨4¸SÈ4ñØSYñ€Fô �6˜7 HÑ7°Ñ7Ð7rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )a   
    Constructs a RegNetX_400MF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_400MF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_400MF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_400MF_Weights
        :members:
    é   rA  g{®Gáz8@gR¸…ëQ@r5  ©ru   r‡   rˆ   r‰   rS   r»   )r!   r9  r   r®   rò   r:  s       rG   r0   r0   p  óJ   € ô( %×+Ñ+¨GÓ4€Gä×)Ñ)Ðj°¸ÀÈ4Ð]_ÑjÐciÑj€FÜ�6˜7 HÑ7°Ñ7Ð7rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )a   
    Constructs a RegNetX_800MF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_800MF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_800MF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_800MF_Weights
        :members:
    r5  r>  g=
×£pÝA@g=
×£p=@rS  r»   )r"   r9  r   r®   rò   r:  s       rG   r1   r1   Š  rT  rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )a   
    Constructs a RegNetX_1.6GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_1_6GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_1_6GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_1_6GF_Weights
        :members:
    rJ  rE  gáz®GA@ç      @rA  rS  r»   )r#   r9  r   r®   rò   r:  s       rG   r2   r2   ¤  rT  rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )a   
    Constructs a RegNetX_3.2GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_3_2GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_3_2GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_3_2GF_Weights
        :members:
    é   éX   g�Âõ(\O:@rW  r6  rS  r»   )r$   r9  r   r®   rò   r:  s       rG   r3   r3   ¾  rT  rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )a˜  
    Constructs a RegNetX_8GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_8GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_8GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_8GF_Weights
        :members:
    é   rE  gHáz®ÇH@g
×£p=
@éx   rS  r»   )r%   r9  r   r®   rò   r:  s       rG   r4   r4   Ø  sJ   € ô( #×)Ñ)¨'Ó2€Gä×)Ñ)Ðk°¸ÀÈ4Ð]`ÑkÐdjÑk€FÜ�6˜7 HÑ7°Ñ7Ð7rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )aœ  
    Constructs a RegNetX_16GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_16GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_16GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_16GF_Weights
        :members:
    rR  éØ   gìQ¸…ËK@gÍÌÌÌÌÌ @é€   rS  r»   )r&   r9  r   r®   rò   r:  s       rG   r5   r5   ò  óJ   € ô( $×*Ñ*¨7Ó3€Gä×)Ñ)Ðk°¸ÀÈCÐ]`ÑkÐdjÑk€FÜ�6˜7 HÑ7°Ñ7Ð7rH   c           	      ó~   — t         j                  | «      } t        j                  dddddddœ|¤Ž}t	        || |fi |¤ŽS )aœ  
    Constructs a RegNetX_32GF architecture from
    `Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.

    Args:
        weights (:class:`~torchvision.models.RegNet_X_32GF_Weights`, optional): The pretrained weights to use.
            See :class:`~torchvision.models.RegNet_X_32GF_Weights` below for more details and possible values.
            By default, no pretrained weights are used.
        progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
        **kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
            ``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
            <https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
            for more detail about the classes.

    .. autoclass:: torchvision.models.RegNet_X_32GF_Weights
        :members:
    r\  i@  g×£p=
wQ@rÆ   é¨   rS  r»   )r'   r9  r   r®   rò   r:  s       rG   r6   r6     ra  rH   )Mr’   Úcollectionsr   Ú	functoolsr   Útypingr   r   r   r�   r   r	   Úops.miscr   r   Útransforms._presetsr   r   Úutilsr   Ú_apir   r   r   Ú_metar   Ú_utilsr   r   r   Ú__all__r8   rÍ   rR   rN   rg   rt   r   r   Úboolrò   rô   ÚdictÚstrÚ__annotations__r%  r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r  r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r»   rH   rG   ú<module>rr     s(  ðÜ Ý #Ý ß *Ñ *ã ß ç >ß HÝ 'ß 6Ñ 6Ý 'ß SÑ Sò €ôF
Ð'ô 
ô&!˜"Ÿ-™-ô &!ôR("˜Ÿ™ô ("ôV>ˆr�}‰}ô >÷Dl.ñ l.ô^XˆR�Y‰Yô XðvØðà�kÑ"ðð ðð ð	ð
 óð& Ø&ñ €ˆd�3˜�8‰nó ð
Øðà8ØKòÐ ô)˜[ô )ôX)˜[ô )ôX)˜[ô )ôX)˜[ô )ôX)˜;ô )ôXV˜Kô VôrV˜Kô Vôr.%˜[ô .%ôb)˜[ô )ôX)˜[ô )ôX)˜[ô )ôX)˜[ô )ôX)˜;ô )ôX)˜Kô )ôX)˜Kô )ñX ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ4 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ4 ÓÙ ,Ð0D×0RÑ0RÐ!SÔTØ>BÐUYò 8˜XÐ&:Ñ;ð 8Èdð 8Ðehð 8Ðmsò 8ó Uó ð8ñ4 ÓÙ ,Ð0E×0SÑ0SÐ!TÔUØ@DÐW[ò 8˜hÐ'<Ñ=ð 8ÐPTð 8Ðgjð 8Ðouò 8ó Vó ð8ñ4 ÓÙ ,Ð0E×0SÑ0SÐ!TÔUØ@DÐW[ò 8˜hÐ'<Ñ=ð 8ÐPTð 8Ðgjð 8Ðouò 8ó Vó ð8ñ4 ÓÙÐ!5Ô6ØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó 7ó ð8ñ4 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0F×0TÑ0TÐ!UÔVØBFÐY]ò 8˜xÐ(>Ñ?ð 8ÐRVð 8Ðilð 8Ðqwò 8ó Wó ð8ñ0 ÓÙ ,Ð0D×0RÑ0RÐ!SÔTØ>BÐUYò 8˜XÐ&:Ñ;ð 8Èdð 8Ðehð 8Ðmsò 8ó Uó ð8ñ0 ÓÙ ,Ð0E×0SÑ0SÐ!TÔUØ@DÐW[ò 8˜hÐ'<Ñ=ð 8ÐPTð 8Ðgjð 8Ðouò 8ó Vó ð8ñ0 ÓÙ ,Ð0E×0SÑ0SÐ!TÔUØ@DÐW[ò 8˜hÐ'<Ñ=ð 8ÐPTð 8Ðgjð 8Ðouò 8ó Vó ñ8rH   