Skip to content

torchaudio.compliance.kaldi.spectrogram is very different from torchaudio.transforms.spectrogram #157

@vincentqb

Description

@vincentqb

Does 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
download (1)

This is what torchaudio.transforms.spectrogram gives
download (2)

The "train pattern" is also visible on academo.org.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions