Comments (5)
Hello @seungwonpark ,
Thank you for the fix! Yes, I think we will have to use slicing for this. I will give it try.
from voicefilter.
Hi, @bhaveshgg17
I think I forgot to use torch.no_grad()
scope when inferencing. Will you please add that and try it again?
from voicefilter.
Oh, wait. It must be because of the length of the mixed wav. 5 minutes is too long for VoiceFilter to run at once.
from voicefilter.
First, I reduced memory usage by half using torch.no_grad()
scope in #6.
However, in order to use VoiceFilter system for long audio, I think we should use some kind of slicing strategy. Since we can't process the whole audio at once, we need to slice it to some pieces and process sequentially (or in batch).
from voicefilter.
i met the same problem.
error msg:
RuntimeError: CUDA out of memory. Tried to allocate 353.38 MiB (GPU 0; 7.79 GiB total capacity; 6.92 GiB already allocated; 77.56 MiB free; 35.16 MiB cached)
modify batch_size in config.yaml file, it works
batch_size=6
from voicefilter.
Related Issues (20)
- Question about normalize-resample.sh HOT 4
- Question when preprocessing wav files HOT 1
- Question when training VoiceFilter HOT 1
- Question about utils/evaluation.py HOT 2
- Need to try power-law compression loss HOT 2
- embedder.pt with new dataset HOT 4
- Can you get the initial mean SDR on LibriSpeech using Google's test list? HOT 8
- hop_length and win_length
- the model implementation comprehension HOT 1
- inference
- Can I get the pretrained model please! I so dearly need it for my project, here's my email just in case, [email protected] HOT 1
- Training setting problem HOT 6
- Is the VoiceFilter model checkpoint available to be used directly? HOT 1
- question about ffmpeg-normalize
- Question about wav2spec function in utils/audo.py
- Cannot reproduce reported SDR & retrain the speaker embedding
- how to work for multi noise
- What is the term spk refers to in the below code ? line 127
- how to create file embedder HOT 5
- Question about start point of SDR HOT 4
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 voicefilter.