def _get_target(self, index):
    if (self.targets is None):
        return 1
    target = self.targets[index]
    if (self.target_transform is not None):
        return self.target_transform(target)
    return int(target)
def _get_target(self, index):
    if (self.targets is None):
        return 1
    target = self.targets[index]
    if (self.target_transform is not None):
        return self.target_transform(target)
    return int(target)