Skip to content
New issue

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

测试自己的数据时,均值和方差怎么算出来的 #27

Open
wangyanquan opened this issue Jun 28, 2023 · 3 comments
Open

测试自己的数据时,均值和方差怎么算出来的 #27

wangyanquan opened this issue Jun 28, 2023 · 3 comments

Comments

@wangyanquan
Copy link

    # normalize the input to 0 mean and unit std.
    if am=='librispeech':
        dir='seq_data_librispeech'
        norm_mean, norm_std = 3.203, 4.045
    elif am=='paiia':
        dir='seq_data_paiia'
        norm_mean, norm_std = -0.652, 9.737
    elif am=='paiib':
        dir='seq_data_paiib'
        norm_mean, norm_std = -0.516, 9.247
    else:
        raise ValueError('Acoustic Model Unrecognized.')
@YuanGongND
Copy link
Owner

You should use the mean/std of the acoustic model you use.

librispeech, paiia, paiib are not datasets, but the names of acoustic models.

-Yuan

@wangyanquan
Copy link
Author

谢谢大佬

@wangyanquan
Copy link
Author

You should use the mean/std of the acoustic model you use.

librispeech, paiia, paiib are not datasets, but the names of acoustic models.

-Yuan

那这个数据在声学模型的哪一个部分可以看到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants