We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
import os
path1 = 'testset_noisy/' # 带噪语音路径 path2 = 'testset_clean/' # 干净语音路径
path_write = 'testset.txt' # txt文件写入路径(包含txt文件名)
files1 = os.listdir(path1) files2 = os.listdir(path2) print(files1) print(files2)
with open(path_write, 'w+') as txt: for i in range(len(files1)): string = path1 + files1[i] + ' ' + path2 + files2[i] print('string', string) txt.write(string + '\n')
txt.close()
Sorry, something went wrong.
如上,这是自己写的生成训练数据txt的程序。
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: