class_docstr: RGB version of the `EuroSAT <https://github.com/phelber/eurosat>`_ Dataset.
  
  Args:
      root (string): Root directory of dataset where ``root/eurosat`` exists.
      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.
      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.
code: def __init__(
      self,
      root: str,
      transform: Optional[Callable] = None,
      target_transform: Optional[Callable] = None,
      download: bool = False,
  ) -> None:
      self.root = os.path.expanduser(root)
      self._base_folder = os.path.join(self.root, "eurosat")
      self._data_folder = os.path.join(self._base_folder, "2750")
  
      if download:
          self.download()
  
      if not self._check_exists():
          raise RuntimeError(
              "Dataset not found. You can use download=True to download it"
          )
  
      super().__init__(
          self._data_folder,
          transform=transform,
          target_transform=target_transform,
      )
      self.root = os.path.expanduser(root)
  
file_path: vision/torchvision/datasets/eurosat.py
imports: import os
  from typing import Callable, Optional
  from .folder import ImageFolder
  from .utils import download_and_extract_archive
label_desc: Use image node_id 1 to create a new EuroSAT object from inherited base classes: ImageFolder with example: obj = EuroSAT(root, transform, target_transform, download)