    def __init__(self, raw_file, list_file, index_file, audio_window, frame_window):
        """ raw_file: train-clean-100.h5
            list_file: list/training.txt
            index_file: spk2idx
            audio_window: 20480
        """
        self.raw_file  = raw_file 
        self.audio_window = audio_window 
        self.frame_window = frame_window

        with open(list_file) as f:
            temp = f.readlines()
        self.utts = [x.strip() for x in temp]

        with open(index_file) as f:
            content = f.readlines()
        content = [x.strip() for x in content]
        self.spk2idx = {}
        for i in content:
            spk = i.split(' ')[0]
            idx = int(i.split(' ')[1])
            self.spk2idx[spk] = idx
raw_file: train-clean-100.h5
list_file: list/training.txt
index_file: spk2idx
audio_window: 20480
src/data_reader/dataset.py