def __init__(self, fpaths, img_loader='pil', targets=None, transform=None, target_transform=None):
    self.fpaths = fpaths
    self.loader = self._get_loader(img_loader)
    self.targets = targets
    self.transform = transform
    self.target_transform = target_transform
def __init__(self, fpaths, img_loader='pil', targets=None, transform=None, target_transform=None):
    self.fpaths = fpaths
    self.loader = self._get_loader(img_loader)
    self.targets = targets
    self.transform = transform
    self.target_transform = target_transform