Comments (4)
I think I solved this by 'pip install librosa'
from encodec.
Thanks @Limeysoda1, but I got a different error. I think maybe issue for PyTorch:
Traceback (most recent call last):
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\Scripts\encodec.exe\__main__.py", line 7, in <module>
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\__main__.py", line 111, in main
compressed = compress(model, wav, use_lm=args.lm)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\compress.py", line 172, in compress
compress_to_file(model, wav, fo, use_lm=use_lm)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\compress.py", line 51, in compress_to_file
frames = model.encode(wav[None])
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\model.py", line 144, in encode
encoded_frames.append(self._encode_frame(frame))
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\model.py", line 161, in _encode_frame
emb = self.encoder(x)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\modules\seanet.py", line 144, in forward
return self.model(x)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\container.py", line 204, in forward
input = module(input)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\modules\seanet.py", line 63, in forward
return self.shortcut(x) + self.block(x)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\modules\conv.py", line 210, in forward
return self.conv(x)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\encodec\modules\conv.py", line 120, in forward
x = self.conv(x)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1208, in _call_impl
result = forward_call(*input, **kwargs)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\conv.py", line 313, in forward
return self._conv_forward(input, self.weight, self.bias)
File "C:\Users\marti\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\conv.py", line 309, in _conv_forward
return F.conv1d(input, weight, bias, self.stride,
RuntimeError: could not create a primitive
Torch versions:
torch 1.13.0+cu117
torchaudio 0.13.0+cu117
from encodec.
It is possible that your CPU doesn't support some of the instruction sets required by PyTorch. You should open an issue with PyTorch as this is not really related to the our code.
from encodec.
Oh, I see, thank you. I will submit the issue in PyTorch and this repository will be closed my issue by myself.
- Martin Eesmaa
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
- RuntimeError Couldn't find appropriate backend to handle uri {uri} and format {format}. HOT 4
- 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.