Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: Demucs #131

Open
1 task done
KaiVinter opened this issue Oct 28, 2022 · 3 comments
Open
1 task done

Package request: Demucs #131

KaiVinter opened this issue Oct 28, 2022 · 3 comments

Comments

@KaiVinter
Copy link

KaiVinter commented Oct 28, 2022

Describe package:
Name: Demucs Music Source Separation
Homepage: ↓
Source link: https://github.com/facebookresearch/demucs

Additional Info:
This is a really useful tool for musicians!
This is an AI based audio source separation tool.
It's written in Python. I tried instaling it as the GitHub page says, but it gave me some errors and couldn't install.
If this happened, is there a way to erase the files that were downloaded? Since it didn't install correctly via pip, there's no need to keep the Demucs files of a failed installation

@licy183
Copy link
Collaborator

licy183 commented Oct 29, 2022

It seems that this program needs cuda. But cuda is impossible to work on Termux...

https://github.com/facebookresearch/demucs/blob/bd98f01aac5a9e1b1db55cb5744c1ffa69ff39e1/requirements_minimal.txt#L1

@nacho00112
Copy link
Contributor

Describe package: Name: Demucs Music Source Separation Homepage: ↓ Source link: https://github.com/facebookresearch/demucs

Additional Info: This is a really useful tool for musicians! This is an AI based audio source separation tool. It's written in Python. I tried instaling it as the GitHub page says, but it gave me some errors and couldn't install. If this happened, is there a way to erase the files that were downloaded? Since it didn't install correctly via pip, there's no need to keep the Demucs files of a failed installation

If you used pip then do this:

pip cache purge

Sometimes there also are files in $PREFIX/tmp that are not deleted if pip is interrupted in a bad way so:

# make sure that you not have anything important there
rm -r $PREFIX/tmp/*

@knyipab
Copy link
Contributor

knyipab commented May 24, 2024

I think it's possible. I installed demucs with these commands on my devices:

pkg install -y python-lameenc python-torchaudio
pip install demucs

And then test with:

demucs input_audio.mp4 -n hdemucs_mmi -d cpu --mp3 --two-stems=vocals

It outputs separated audio in separated dir.

Last words: still, it is 7~9 times slower than spleeter-proot (#1037) on my devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants