嘉渊
2023-08-05 47343b5c2f4e1256f60f46d8da0aa2e5de39b6c7
egs/callhome/eend_ola/local/split.py
@@ -59,8 +59,8 @@
                utt2spk_dict[rec].append((parts[0], parts[1]))
    for file in scp_files:
        scp_file = work_path + file
        idx = scp_file.split('.')[-2]
        scp_file = os.path.join(work_path, file)
        idx = scp_file.split('.')[-1]
        reco2dur_file = os.path.join(work_path, 'reco2dur.{}'.format(str(idx)))
        spk2utt_file = os.path.join(work_path, 'spk2utt.{}'.format(str(idx)))
        segment_file = os.path.join(work_path, 'segments.{}'.format(str(idx)))