class_docstr: CORe50 Pytorch Dataset
class_docstr_tok: ["CORe50","Pytorch","Dataset"]
code: def _download_dataset(self) -> None:
      data2download: List[Tuple[str, str, str]] = core50_data.data
  
      if self.mini:
          data2download = list(data2download)
          data2download[0] = core50_data.extra_data[1]
  
      for name in data2download:
          if self.verbose:
              print("Downloading " + name[1] + "...")
          file = self._download_file(name[1], name[0], name[2])
          if name[1].endswith(".zip"):
              if self.verbose:
                  print(f"Extracting {name[0]}...")
              extract_root = self._extract_archive(file)
              if self.verbose:
                  print("Extraction completed!")
  
imports: import glob
  import os
  import pickle
  from pathlib import Path
  from typing import List, Optional, Tuple, Union
  from warnings import warn
  from torchvision.datasets.folder import default_loader
  from torchvision.transforms import ToTensor
  from avalanche.benchmarks.datasets.core50 import core50_data
  from avalanche.benchmarks.datasets import default_dataset_location
  from avalanche.benchmarks.datasets.downloadable_dataset import DownloadableDataset
label_desc: Use image node_id 4 for calling the CORe50Dataset obj's underlying member method code with example usage: obj._download_dataset() without return types