+
     °³jÉ
  ã                   ód   € ^ RI t ^ RIHt ^ RIHtHtHtHt ^RIH	t	H
t
 ^RIHt  ! R R]
4      tR# )é    N)ÚPath)ÚAnyÚCallableÚOptionalÚUnion)Údefault_loaderÚImageFolder)Údownload_and_extract_archivec                   ó„   a a€ ] tR t^	t oRtRRR]3V3R lV 3R llltV3R lR ltV3R lR	 ltV3R
 lR lt	Rt
VtV ;t# )ÚEuroSATa0  RGB version of the `EuroSAT <https://github.com/phelber/eurosat>`_ Dataset.

For the MS version of the dataset, see
`TorchGeo <https://torchgeo.readthedocs.io/en/stable/api/datasets.html#eurosat>`__.

Args:
    root (str or ``pathlib.Path``): Root directory of dataset where ``root/eurosat`` exists.
    transform (callable, optional): A function/transform that takes in a PIL image or torch.Tensor, depends on the given loader,
        and returns a transformed version. E.g, ``transforms.RandomCrop``
    target_transform (callable, optional): A function/transform that takes in the
        target and transforms it.
    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 is False.
    loader (callable, optional): A function to load an image given its path.
        By default, it uses PIL as its image loader, but users could also pass in
        ``torchvision.io.decode_image`` for decoding image data into tensors directly.
NFc                óŠ   <€ V ^8„  d   QhRS[ S[S[3,          RS[S[,          RS[S[,          RS[RS[S[.S[3,          RR/# )é   ÚrootÚ	transformÚtarget_transformÚdownloadÚloaderÚreturnN)r   Ústrr   r   r   Úboolr   )ÚformatÚ__classdict__s   "€Ú]/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torchvision/datasets/eurosat.pyÚ__annotate__ÚEuroSAT.__annotate__   se   ø€ ÷ -ñ -á‘C™�IÕð-ñ ™HÕ%ð-ñ #¡8Õ,ð	-ñ
 ð-ñ ™#˜¡˜Õ$ð-ð 
ñ-ó    c                ó   <€ \         P                  P                  V4      V n        \         P                  P	                  V P                  R 4      V n        \         P                  P	                  V P
                  R4      V n        V'       d   V P                  4        V P                  4       '       g   \        R4      h\        SV `-  V P                  VVVR7       \         P                  P                  V4      V n        R# )ÚeurosatÚ2750z;Dataset not found. You can use download=True to download it)r   r   r   N)ÚosÚpathÚ
expanduserr   ÚjoinÚ_base_folderÚ_data_folderr   Ú_check_existsÚRuntimeErrorÚsuperÚ__init__)Úselfr   r   r   r   r   Ú	__class__s   &&&&&&€r   r)   ÚEuroSAT.__init__   s¶   ø€ ô —G‘G×&Ñ& tÓ,ˆŒ	ÜŸG™GŸL™L¨¯©°IÓ>ˆÔÜŸG™GŸL™L¨×):Ñ):¸FÓCˆÔçØ�M‰MŒOà×!Ñ!×#Ò#ÜÐ\Ó]Ð]ä‰ÑØ×ÑØØ-Øð	 	ô 	
ô —G‘G×&Ñ& tÓ,ˆŽ	r   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   )Úint)r   r   s   "€r   r   r   7   s   ø€ ÷ !ñ !™ñ !r   c                ó,   € \        V P                  4      # ©N)ÚlenÚsamples©r*   s   &r   Ú__len__ÚEuroSAT.__len__7   s   € Ü�4—<‘<Ó Ð r   c                ó    <€ V ^8„  d   QhRS[ /# r.   )r   )r   r   s   "€r   r   r   :   s   ø€ ÷ 1ñ 1™tñ 1r   c                óT   € \         P                  P                  V P                  4      # r1   )r    r!   Úexistsr%   r4   s   &r   r&   ÚEuroSAT._check_exists:   s   € Ü�w‰w�~‰~˜d×/Ñ/Ó0Ð0r   c                ó   <€ V ^8„  d   QhRR/# )r   r   N© )r   r   s   "€r   r   r   =   s   ø€ ÷ 

ñ 

˜$ñ 

r   c                óª   € V P                  4       '       d   R # \        P                  ! V P                  RR7       \	        RV P                  RR7       R # )NT)Úexist_okzmhttps://huggingface.co/datasets/torchgeo/eurosat/resolve/c877bcd43f099cd0196738f714544e355477f3fd/EuroSAT.zipÚ c8fa014336c82ac7804f0398fcb19387)Údownload_rootÚmd5)r&   r    Úmakedirsr$   r
   r4   s   &r   r   ÚEuroSAT.download=   s?   € à×Ñ×ÒÙä
�Š�D×%Ñ%°Õ5Ü$Ø{Ø×+Ñ+Ø2÷	
r   )r$   r%   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r)   r5   r&   r   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r+   r   s   @@r   r   r   	   sE   ù‡ € ñð, )-Ø/3ØØ'5÷-õ -÷4!ð !÷1ð 1÷

÷ 

ð 

r   r   )r    Úpathlibr   Útypingr   r   r   r   Úfolderr   r	   Úutilsr
   r   r<   r   r   Ú<module>rP      s#   ðÛ 	Ý ß 1Ó 1ç /Ý /ô>
ˆkö >
r   