torchaudio.compliance.kaldi.spectrogram is very different from torchaudio.transforms.spectrogram
See original GitHub issueDoes torchaudio.compliance.kaldi.spectrogram
only currently support vectors?
When feeding a tensor of shape torch.Size([2, 276858])
the result is not what’s expected, yet there is no error. I would expect a “train pattern” to be visible, as in the second figure below.
This is what kaldi gives
This is what torchaudio.transforms.spectrogram
gives
The “train pattern” is also visible on academo.org.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
torchaudio.compliance.kaldi - PyTorch
Various functions with identical parameters are given so that torchaudio can produce similar outputs. spectrogram. Create a spectrogram from a raw audio signal....
Read more >torchaudio.compliance.kaldi
Create a spectrogram from a raw audio signal. This matches the input/output of Kaldi's compute-spectrogram-feats. Parameters: waveform (Tensor) – ...
Read more >How to use the torchaudio.compliance.kaldi ... - Snyk
To help you get started, we've selected a few torchaudio.compliance.kaldi.resample_waveform examples, based on popular ways it is used in public projects.
Read more >torchaudio.transforms — Torchaudio 0.7.0 documentation
power (float or None, optional) – Exponent for the magnitude spectrogram, ... and so may return different values for an audio clip split...
Read more >torchaudio Changelog - pyup.io
To use the transform in devices other than CPU, please move the ... [torchaudio.compliance.kaldi.spectrogram](https://pytorch.org/audio/compliance.kaldi.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The file can still be accessed here.
@vincentqb I could investigate the flags more kaldi.spectrogram to get a more closer result but is this more similar to what you would expect?
Spec1:
Spec2:
