question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Questions about get_downsample_rate() in upstream/mockingjay/expert.py

See original GitHub issue

Hi there,

There might be a possible mistake in:

def get_downsample_rate(self):
        return 160

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Sreyan88commented, Mar 9, 2021

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! 😃

0reactions
andi611commented, Mar 9, 2021

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found