+
     °³j“"  ã                   óä  € ^ RI t ^ RIt^ RIHt ^ RIHtHtHtHt ^ RI	H
t  ^ RIHt ^ RIHt ^RIHtHt ^RIHt R	R
RRRRRR]P.                  P1                  RR4      /RR
RRRRRR]P.                  P1                  RRR4      /RR
RRRRRR]P.                  P1                  RR4      /RR
RRR RR!R]P.                  P1                  RR"4      /R#R
R$RRRR%R]P.                  P1                  RR&4      /R'R
R(RR)RR*R]P.                  P1                  RR+4      /R,R
R-RR.RR/R]P.                  P1                  RR+4      //t ! R0 R1]4      t ! R2 R3]4      t ! R4 R5]4      tR#   ] d    ^ RI	Ht  ELFi ; i)6é    N)ÚPath)ÚAnyÚCallableÚOptionalÚUnion)ÚElement)Úparse)ÚImage)Údownload_and_extract_archiveÚverify_str_arg)ÚVisionDatasetÚ2012ÚurlzKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tarÚfilenamezVOCtrainval_11-May-2012.tarÚmd5Ú 6cd6e144f989b92b3379bac3b3de84fdÚbase_dirÚ	VOCdevkitÚVOC2012Ú2011zKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2011/VOCtrainval_25-May-2011.tarzVOCtrainval_25-May-2011.tarÚ 6c3384ef61512963050cb5d687e5bf1eÚTrainValÚVOC2011Ú2010zKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2010/VOCtrainval_03-May-2010.tarzVOCtrainval_03-May-2010.tarÚ da459979d0c395079b5c75ee67908abbÚVOC2010Ú2009zKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2009/VOCtrainval_11-May-2009.tarzVOCtrainval_11-May-2009.tarÚ a3e00b113cfcfebf17e343f59da3caa1ÚVOC2009Ú2008zKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2008/VOCtrainval_14-Jul-2008.tarÚ 2629fa636546599198acfcfbfcf1904aÚVOC2008Ú2007zKhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tarzVOCtrainval_06-Nov-2007.tarÚ c52e279531787c972589f7e41ab4ae64ÚVOC2007ú	2007-testzGhttps://thor.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tarzVOCtest_06-Nov-2007.tarÚ b6e924de25625d8de591ea690078ad9fc                   ó`   a a€ ] tR t^?t oRV3R lV 3R llltV3R lR ltV3R ltRtVtV ;t	# )Ú_VOCBasec                óŠ   <€ V ^8„  d   QhRS[ S[S[3,          RS[RS[RS[RS[S[,          RS[S[,          RS[S[,          /# )é   ÚrootÚyearÚ	image_setÚdownloadÚ	transformÚtarget_transformÚ
transforms)r   Ústrr   Úboolr   r   )ÚformatÚ__classdict__s   "€ÚY/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torchvision/datasets/voc.pyÚ__annotate__Ú_VOCBase.__annotate__D   si   ø€ ÷ .5ñ .5á‘C™�IÕð.5ñ ð.5ñ ð	.5ñ
 ð.5ñ ™HÕ%ð.5ñ #¡8Õ,ð.5ñ ™XÕ&ñ.5ó    c           
     ó–  <€ \         SV `  WWV4       \        TR \        RR4       Uu. uF  p\	        V4      NK  	  upR7      V n        . ROp	VR8X  d   V	P                  R4       \        VRV	4      V n        VR8X  d
   VR8X  d   RMTp
\        V
,          pVR,          V n	        VR	,          V n
        VR
,          V n        VR,          p\        P                  P                  V P                  V4      pV'       d8   \!        V P                  V P                  V P                  V P                  R7       \        P                  P#                  V4      '       g   \%        R4      h\        P                  P                  VRV P&                  4      p\        P                  P                  WãP)                  R4      R,           4      p\+        \        P                  P                  V4      4      ;_uu_ 4       pVP-                  4        Uu. uF  pVP/                  4       NK  	  ppRRR4       \        P                  P                  VR4      pX Uu. uF*  p\        P                  P                  VVR,           4      NK,  	  upV n        \        P                  P                  WÐP2                  4      pV Uu. uF4  p\        P                  P                  VVV P4                  ,           4      NK6  	  upV n        \9        V P0                  4      \9        V P6                  4      8X  g   Q hR# u upi u upi   + '       g   i     EL; iu upi u upi )r-   i×  iÝ  )Úvalid_valuesr#   Útestr.   r&   r   r   r   r   )r   r   zHDataset not found or corrupted. You can use download=True to download itÚ	ImageSetsÚ
z.txtNÚ
JPEGImagesz.jpg)ÚtrainÚtrainvalÚval)ÚsuperÚ__init__r   Úranger3   r-   Úappendr.   ÚDATASET_YEAR_DICTr   r   r   ÚosÚpathÚjoinr,   r   ÚisdirÚRuntimeErrorÚ_SPLITS_DIRÚrstripÚopenÚ	readlinesÚstripÚimagesÚ_TARGET_DIRÚ_TARGET_FILE_EXTÚtargetsÚlen)Úselfr,   r-   r.   r/   r0   r1   r2   ÚyrÚvalid_image_setsÚkeyÚdataset_year_dictr   Úvoc_rootÚ
splits_dirÚsplit_fÚfÚxÚ
file_namesÚ	image_dirÚ
target_dirÚ	__class__s   &&&&&&&&             €r7   rE   Ú_VOCBase.__init__D   sa  ø€ ô 	‰Ñ˜¨9ÔGä" 4¨ÔQVÐW[Ð]aÔQbÓ>cÑQbÈ2¼sÀ2¾wÑQbÑ>cÔdˆŒ	â7ÐØ�6Œ>Ø×#Ñ# FÔ+Ü'¨	°;Ð@PÓQˆŒà! Vœ^°	¸VÔ0C‰kÈˆÜ-¨cÕ2Ðà$ UÕ+ˆŒØ)¨*Õ5ˆŒØ$ UÕ+ˆŒà$ ZÕ0ˆÜ—7‘7—<‘< §	¡	¨8Ó4ˆçÜ(¨¯©°4·9±9ÀtÇ}Á}ÐZ^×ZbÑZbÕcä�w‰w�}‰}˜X×&Ò&ÜÐiÓjÐjä—W‘W—\‘\ (¨K¸×9IÑ9IÓJˆ
Ü—'‘'—,‘,˜z×+;Ñ+;¸DÓ+AÀFÕ+JÓKˆÜ”"—'‘'—,‘,˜wÓ'×(Ô(¨AØ-.¯[©[¬]Ó;©]¨˜!Ÿ'™'ž)©]ˆJÐ;÷ )ô —G‘G—L‘L ¨<Ó8ˆ	ÙDNÓOÁJ¸q”r—w‘w—|‘| I¨q°6­zÖ:ÁJÑOˆŒä—W‘W—\‘\ (×,<Ñ,<Ó=ˆ
ÙU_Ó`ÑU_ÐPQœŸ™Ÿ™ Z°°T×5JÑ5JÕ1JÖKÑU_Ñ`ˆŒä�4—;‘;Ó¤3 t§|¡|Ó#4Ô4Ð4Ò4ùòE ?dùò4 <÷ )×(Ð(üò Pùò as/   §L#Ç1L-ÈL(ÈL-É0MÊ0:MÌ(L-Ì-L>	c                ó    <€ V ^8„  d   QhRS[ /# ©r+   Úreturn)Úint)r5   r6   s   "€r7   r8   r9   t   s   ø€ ÷  ñ  ™ñ  r:   c                ó,   € \        V P                  4      # ©N)rW   rS   ©rX   s   &r7   Ú__len__Ú_VOCBase.__len__t   s   € Ü�4—;‘;ÓÐr:   c                ó>   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   # )r+   rN   rT   rU   )r3   )r5   r6   s   "€r7   r8   r9   ?   s(   ø‡ ‚ ÙÑñ áÑñ ñ Ñò r:   )r   r.   rS   r   rV   r   r-   )r   rA   FNNN)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__rE   rn   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)re   r6   s   @@r7   r)   r)   ?   s"   ù‡ € ÷
.5õ .5÷` ð  ÷k … r:   r)   c                   ó^   a € ] tR t^xt o RtRtRtRt]V 3R lR l4       t	V 3R lR lt
R	tV tR
# )ÚVOCSegmentationa  `Pascal VOC <https://www.robots.ox.ac.uk/~vgg/projects/pascal/VOC/>`_ Segmentation Dataset.

Args:
    root (str or ``pathlib.Path``): Root directory of the VOC Dataset.
    year (string, optional): The dataset year, supports years ``"2007"`` to ``"2012"``.
    image_set (string, optional): Select the image_set to use, ``"train"``, ``"trainval"`` or ``"val"``. If
        ``year=="2007"``, can also be ``"test"``.
    download (bool, optional): If true, downloads the dataset from the internet and
        puts it in root directory. If dataset is already downloaded, it is not
        downloaded again.
    transform (callable, optional): A function/transform that  takes in a PIL image
        and returns a transformed version. E.g, ``transforms.RandomCrop``
    target_transform (callable, optional): A function/transform that takes in the
        target and transforms it.
    transforms (callable, optional): A function/transform that takes input sample and its target as entry
        and returns a transformed version.
ÚSegmentationÚSegmentationClassz.pngc                ó0   <€ V ^8„  d   QhRS[ S[,          /# rh   ©Úlistr3   )r5   r6   s   "€r7   r8   ÚVOCSegmentation.__annotate__�   s   ø€ ÷ ñ ‘t™C•yñ r:   c                ó   € V P                   # rl   ©rV   rm   s   &r7   ÚmasksÚVOCSegmentation.masks�   ó   € à�|‰|Ðr:   c                ó<   <€ V ^8„  d   QhRS[ RS[S[S[3,          /# ©r+   Úindexri   ©rj   Útupler   )r5   r6   s   "€r7   r8   r€   “   ó#   ø€ ÷ ñ ¡ð ©©s±C¨x­ñ r:   c                ó  € \         P                  ! V P                  V,          4      P                  R4      p\         P                  ! V P                  V,          4      pV P
                  e   V P                  W#4      w  r#W#3# )zk
Args:
    index (int): Index

Returns:
    tuple: (image, target) where target is the image segmentation.
ÚRGB)r
   rP   rS   Úconvertrƒ   r2   ©rX   rˆ   ÚimgÚtargets   &&  r7   Ú__getitem__ÚVOCSegmentation.__getitem__“   s_   € ô �jŠj˜Ÿ™ UÕ+Ó,×4Ñ4°UÓ;ˆÜ—’˜DŸJ™J uÕ-Ó.ˆà�?‰?Ò&ØŸ/™/¨#Ó6‰KˆCàˆ{Ðr:   © N)rq   rr   rs   rt   Ú__doc__rN   rT   rU   Úpropertyrƒ   r’   rv   rw   ©r6   s   @r7   rz   rz   x   s8   ø‡ € ñð$ !€KØ%€KØÐà÷ó ð÷ö r:   rz   c                   óz   a € ] tR t^¤t o RtRtRtRt]V 3R lR l4       t	V 3R lR lt
]V 3R	 lR
 l4       tRtV tR# )ÚVOCDetectiona<  `Pascal VOC <https://www.robots.ox.ac.uk/~vgg/projects/pascal/VOC/>`_ Detection Dataset.

Args:
    root (str or ``pathlib.Path``): Root directory of the VOC Dataset.
    year (string, optional): The dataset year, supports years ``"2007"`` to ``"2012"``.
    image_set (string, optional): Select the image_set to use, ``"train"``, ``"trainval"`` or ``"val"``. If
        ``year=="2007"``, can also be ``"test"``.
    download (bool, optional): If true, downloads the dataset from the internet and
        puts it in root directory. If dataset is already downloaded, it is not
        downloaded again.
        (default: alphabetic indexing of VOC's 20 classes).
    transform (callable, optional): A function/transform that takes in a PIL image
        and returns a transformed version. E.g, ``transforms.RandomCrop``
    target_transform (callable, required): A function/transform that takes in the
        target and transforms it.
    transforms (callable, optional): A function/transform that takes input sample and its target as entry
        and returns a transformed version.
ÚMainÚAnnotationsz.xmlc                ó0   <€ V ^8„  d   QhRS[ S[,          /# rh   r~   )r5   r6   s   "€r7   r8   ÚVOCDetection.__annotate__½   s   ø€ ÷ ñ ™T¡#�Yñ r:   c                ó   € V P                   # rl   r‚   rm   s   &r7   ÚannotationsÚVOCDetection.annotations¼   r…   r:   c                ó<   <€ V ^8„  d   QhRS[ RS[S[S[3,          /# r‡   r‰   )r5   r6   s   "€r7   r8   r�   À   r‹   r:   c                ó(  € \         P                  ! V P                  V,          4      P                  R4      pV P	                  \        V P                  V,          4      P                  4       4      pV P                  e   V P                  W#4      w  r#W#3# )zq
Args:
    index (int): Index

Returns:
    tuple: (image, target) where target is a dictionary of the XML tree.
r�   )	r
   rP   rS   rŽ   Úparse_voc_xmlÚET_parserŸ   Úgetrootr2   r�   s   &&  r7   r’   ÚVOCDetection.__getitem__À   sq   € ô �jŠj˜Ÿ™ UÕ+Ó,×4Ñ4°UÓ;ˆØ×#Ñ#¤H¨T×-=Ñ-=¸eÕ-DÓ$E×$MÑ$MÓ$OÓPˆà�?‰?Ò&ØŸ/™/¨#Ó6‰KˆCàˆ{Ðr:   c                ó<   <€ V ^8„  d   QhRS[ RS[S[S[3,          /# )r+   Únoderi   )Ú
ET_ElementÚdictr3   r   )r5   r6   s   "€r7   r8   r�   Ñ   s#   ø€ ÷ ñ ™Jð ©4±±S°­>ñ r:   c           	     óf  € / p\        V 4      pV'       dÔ   \        P                  ! \         4      p\        \        P
                  V4       F3  pVP                  4        F  w  rVW5,          P                  V4       K  	  K5  	  V P                  R 8X  d   VR,          .VR&   V P                  VP                  4        UUu/ uF!  w  rVT\        V4      ^8X  d
   V^ ,          MTbK#  	  upp/pV P                  '       d1   V P                  P                  4       pV'       g   WqV P                  &   V# u uppi )Ú
annotationÚobject)r   ÚcollectionsÚdefaultdictÚmapr™   r£   ÚitemsrG   ÚtagrW   ÚtextrR   )r¨   Úvoc_dictÚchildrenÚdef_dicÚdcÚindÚvr³   s   &       r7   r£   ÚVOCDetection.parse_voc_xmlÐ   sð   € à#%ˆÜ˜“:ˆßÜ&1×&=Ò&=¼dÓ&CˆGÜœ,×4Ñ4°hÖ?�Ø Ÿh™hžj‘F�CØ•L×'Ñ'¨Ö*ó )ñ @ð �x‰x˜<Ô'Ø%,¨XÕ%6Ð$7�˜Ñ!ØŸ™ÐQX×Q^ÑQ^ÔQ`Ô"aÑQ`ÁvÀs 3´°A³¸!´¨¨!®ÀÒ#BÑQ`Ò"aÐbˆHØ�9�9ˆ9Ø—9‘9—?‘?Ó$ˆDßØ%)˜Ÿ™Ñ"Øˆùó #bs   Â='D-r”   N)rq   rr   rs   rt   r•   rN   rT   rU   r–   rŸ   r’   Ústaticmethodr£   rv   rw   r—   s   @r7   r™   r™   ¤   sL   ø‡ € ñð& €KØ€KØÐà÷ó ð÷ð ð  ÷ó ör:   r™   )r®   rI   Úpathlibr   Útypingr   r   r   r   Úxml.etree.ElementTreer   r©   Údefusedxml.ElementTreer	   r¤   ÚImportErrorÚPILr
   Úutilsr   r   Úvisionr   rJ   rK   rH   r)   rz   r™   r”   r:   r7   Ú<module>rÄ      sÄ  ðÛ Û 	Ý ß 1Ó 1Ý 7ð8Ý8õ ç ?Ý !ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨[¸)ÓDð	ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ð ØÐ\ØÐ1ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ð ØÐXØÐ-ØÐ1Ø�B—G‘G—L‘L ¨iÓ8ð	ðK+Ð ô\6 ˆ}ô 6 ôr)�hô )ôX<�8ö <øðw ô 8ß7Ð7ð8ús   ¢E ÅE/Å.E/