Skip to content

Error running against librosa 0.9.0 #9

@azuwis

Description

@azuwis

While I was trying to package piano_transcription_inference for Nix, the following error encountered:

  File "/usr/local/lib/python3.9/site-packages/piano_transcription_inference/utilities.py", line 556, in load_audio
    y = librosa.core.audio.resample(y, sr_native, sr, res_type=res_type)
TypeError: resample() takes 1 positional argument but 3 positional arguments (and 1 keyword-only argument) were given

Downgrade librosa to 0.8.1 and it worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions