Comments (4)
installing ffmpeg didn't fix this for me, but doing pip install soundfile
did
from encodec.
It was fixed after running
pip install ffmpeg
Should be added to encodec dependencies
from encodec.
I am having issue with MacOS (M2 Max).
File "/Users/rahul/.local/lib/python3.11/site-packages/torchaudio/_backend/utils.py", line 312, in save backend = dispatcher(uri, format, backend) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/rahul/.local/lib/python3.11/site-packages/torchaudio/_backend/utils.py", line 222, in dispatcher raise RuntimeError(f"Couldn't find appropriate backend to handle uri {uri} and format {format}.") RuntimeError: Couldn't find appropriate backend to handle uri separated/htdemucs/02 Saans/vocals.wav and format None.
Tried many commands:
demucs --segment 6 -d cpu --two-stems=vocals songs/02\ Saans.wav
demucs --two-stems=vocals songs/02\ Saans.wav
Python 3.9
Conda Environment:
╰─$ pip list
Package Version Editable project location
antlr4-python3-runtime 4.9.3
attrs 23.2.0
cffi 1.16.0
cloudpickle 3.0.0
colorama 0.4.6
colorlog 6.8.2
Cython 3.0.10
demucs 4.1.0a2 /Volumes/Work/projects/research/demucs
diffq 0.2.4
dora_search 0.1.12
einops 0.7.0
ffmpeg 1.4
ffmpeg-python 0.2.0
filelock 3.13.4
fsspec 2024.3.1
future 1.0.0
gmpy2 2.1.2
hydra-colorlog 1.2.0
hydra-core 1.3.2
Jinja2 3.1.3
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
julius 0.2.7
lameenc 1.7.0
MarkupSafe 2.1.5
mpmath 1.3.0
musdb 0.4.2
museval 0.4.1
networkx 3.2.1
numpy 1.26.4
omegaconf 2.3.0
openunmix 1.2.1
packaging 24.0
pandas 2.2.2
pip 24.0
pyaml 23.12.0
pycparser 2.22
python-dateutil 2.9.0.post0
pytz 2024.1
PyYAML 6.0.1
referencing 0.34.0
retrying 1.3.4
rpds-py 0.18.0
scipy 1.13.0
setuptools 69.5.1
simplejson 3.19.2
six 1.16.0
soundfile 0.12.1
stempeg 0.2.3
submitit 1.5.1
sympy 1.12
torch 2.0.0
torchaudio 2.0.1
tqdm 4.66.2
treetable 0.2.5
typing_extensions 4.11.0
tzdata 2024.1
wheel 0.43.0
from encodec.
@therahulr please try to install libsox.so and check again
One of the possible commands:
brew install sox
from encodec.
Related Issues (20)
- Codebook expiration does not take effect at all HOT 2
- MS-STFTDiscriminator: Why concatenation is done in a form of padding the real part?
- RVQ's password book
- training dataset
- Low quality of the reconstruct audio? HOT 2
- Interpolation between two audio clips? HOT 1
- License of the weights?
- Streaming example? HOT 1
- Encoding Long Audio Clips HOT 1
- Pretrained weights for model without lstm?
- Couldn't reach 'hf-internal-testing/librispeech_asr_dummy' on the Hub
- How STFT Discriminator Output Logits are used in Hinge Loss?
- Converting encodec model to ONNX
- Export Audio
- High bit rates
- Preparing Train Dataset (mixing strategy)
- Distributed Section Error in Encodec on Termux
- Audio Codes "at utterance level"
- Help,Test of pre-trained models
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from encodec.