Skip to content

Spectrograms Not Equal When Running Tests #9

@jvel07

Description

@jvel07

Hi, thanks for the repo, seems to be promising. We have run some tests with your test file and got:

AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0.0001
(shapes (513, 30), (513, 1, 14977) mismatch)
 x: array([[4.878030e-09, 4.919218e-07, 3.511721e-04, ..., 1.196331e-01,
        3.467581e-02, 9.270541e-03],
       [1.071588e-08, 1.510490e-06, 3.254034e-04, ..., 9.578773e-02,...
 y: array([[[4.892740e-09, 5.184347e-09, 5.963557e-09, ..., 1.972358e-02,
         1.956094e-02, 1.939876e-02]],

This is just for the spectrograms --not currently testing mel_specs. We are testing test_melpec_vs_torchaudio().
Any ideas on the possible reasons?

UPDATE: similar outcome with test_melpec_vs_librosa()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions