Skip to content

trying the sample code on linux, dependencies cause issue. #101

@sandycloud

Description

@sandycloud

Hello,
Thanks for making this code open source !

I am trying to run the sample program for audio separation after installing the sam audio library. I also have got access to the model on hugging face and I am using python v3.12.
I am getting a lot of errors when I try to run the sample code (mostly due to the dependencies).
Looking at the github history, i see it has been about 6 months since this was released ( major release). Lot of dependent libraries have also had newer versions since then.
So when I install the dependent libraries (like torch, torch audio, numpy, huggingface-hub, etc.) the "latest versions" get installed. Some of these are not compatible with the SAM audio code. I have been trying to get the correct version for each dependent library to get the audio separation sample code to work.
Its taking a long time since i have to use trial and error.

It would be helpful if you could specify the versions of all 3rd party (dependent) libraries in the file "pyproject.toml" OR if you could
post the output of pip list from your machine where SAM audio sample code runs successfully.
It would save us a lot of time.

Thanks.
Shashikant

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