class_docstr: Dataset used to parallelize the transformation of the dataset via a DataLoader
class_docstr_tok: ["Dataset","used","to","parallelize","the","transformation","of","the","dataset","via","a","DataLoader"]
code: def __init__(
      self,
      input_path: str,
      output_path: str,
      split: str,
      download: bool = False,
  ):
      self.input_path = input_path
      self.output_path = output_path
      self.split = split
      self._download_missing_files(download)
      self.x = self._open_h5_file(self._FILES[f"{split}_x"].file)["x"]
      self.y = self._open_h5_file(self._FILES[f"{split}_y"].file)["y"]
  
file_path: vissl/extra_scripts/datasets/create_patch_camelyon_data_files.py
imports: import argparse
  import gzip
  import os
  from collections import OrderedDict
  from typing import NamedTuple
  from PIL import Image
  from torch.utils.data import DataLoader
  from tqdm import tqdm
  from vissl.utils.download import download_url
label_desc: Use image node_id 1 to create a new PatchCamelyon object  with example: obj = PatchCamelyon(input_path, output_path, split, download)