-
Notifications
You must be signed in to change notification settings - Fork 25
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
raise ValueError("Sampling rate is expected to be 8kHz!") #1
Comments
have you solved it? |
Hello, please preprocess your dataset to downsample the audio to 8 KHz. |
thanks, i'll tyr again!
…------------------ 原始邮件 ------------------
发件人: "Zhenzi-Weng/DeepSC-S" ***@***.***>;
发送时间: 2023年5月1日(星期一) 凌晨5:24
***@***.***>;
***@***.******@***.***>;
主题: Re: [Zhenzi-Weng/DeepSC-S] raise ValueError("Sampling rate is expected to be 8kHz!") (Issue #1)
have you solved it?
Hello, please preprocess your dataset to downsample the audio to 8 KHz.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
@Zhenzi-Weng Hello author, I preprocessed my dataset to downsample 8KHz. But it still appears the errors "check the size of wav_data". |
@ccu1tn Hello. When reading a .wav file by wavfile.read, it should return a vector with only one dimension if the audio signals are stored in this .wav file as one-channel format. I constrained the .wav files for training and testing as one-channel format. So, if your .wav files are in other formats, please convert them to one-channel format or revise my code accordingly. |
Thank you so much. That error done. Also, I still have other errors. I pushed it on the github. Please helps me agian.
Thanks
Vào Th 5, 21 thg 9, 2023 lúc 22:02 Zhenzi-Weng ***@***.***>
đã viết:
… @ccu1tn <https://github.com/ccu1tn> Hello. When reading a .wav file by
wavfile.read, it should return a vector with only one dimension if the
audio signals are stored in this .wav file as one-channel format. I
constrained the .wav files for training and testing as one-channel format.
So, if your .wav files are in other formats, please convert them to
one-channel format or revise my code accordingly.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKTSNRXGFCAG4ZKBKNIP6LX3RCITANCNFSM5ZM2YJGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I use the clean_trainset_28spk_wav.zip (2.315Gb)
take error "Sampling rate is expected to be 8kHz!"
The text was updated successfully, but these errors were encountered: