-
Notifications
You must be signed in to change notification settings - Fork 491
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
Questions about get_downsample_rate() in upstream/mockingjay/expert.py #96
Comments
16khz is the sample rate of raw audio waveform. |
Thank you for the clarification! :) Would be great if you provide a link or a small explanation as to how the downstream rate of mockingjay is being used as I am new to this. :) |
Hi, Given a 16kHz audio, every
As such, you can have any positive integer for The downsampling rate is related to the feature preprocessing process itself, and not Mockingjay. I will close this for now since there is no mistake. Andy |
Thank you so much for the great explanation @andi611 ! I am constantly reading through the repo/paper with a motive of coming up with a pull request soon! Will post more questions soon on the same thread! :) |
That sounds really nice! We look forward to your pull request! |
Hi there,
There might be a possible mistake in:
Since each audio is downsampled to 16khz, I think this should be 16?
I have the same doubt with:
example_wavs = [torch.zeros(160000, dtype=torch.float).to(device) for _ in range(16)]
in upstream/mockingjay/example_extract.py. Should it be
16000
instead?Please let me know if I am making a mistake anywhere. Thank You.
The text was updated successfully, but these errors were encountered: