def __getitem__(self, index):
        with open(self.folder + str(index) + '.txt', 'r') as file:
            buffer = file.read()
            buffer = buffer.split('\n')
            label = int(buffer.pop(0).split('\t')[1])
            buffer.pop()
            image = []
            for line in buffer:
                line = line.split('\t')[1:-1]
                line = [float(x) for x in line]
                image.append(line)
        return torch.tensor(image), torch.tensor(label)