Giter VIP home page Giter VIP logo

Comments (12)

stonelazy avatar stonelazy commented on August 16, 2024

I was under the impression that DepFilterNet can't be used for real-time inference i.e for streaming usecases (20ms chunk as input). I was surprised to see your comment Now I can do the real-time inference process with buffer size=1. Was I under any misconception ?

from deepfilternet.

aaronhsueh0506 avatar aaronhsueh0506 commented on August 16, 2024

Hi,

I think you can look paper of Deepfilternet2, and other streaming method "google-research" in Github.
Now I can do frame-in-frame-out for DeepFilterNet, but if you want to deploy to embedded device, you need to quantize
GRU by yourself (maybe use C/C++)

from deepfilternet.

stonelazy avatar stonelazy commented on August 16, 2024

Thank you so much aaronhsueh, this is news to me ! My usecase is just deploying on a web-app server. Do I need to do any preprocessing such as overlapp and add of the frames before I input to the DeepFilternet or just chunking the full length audio signal to 20ms is sufficient ?

from deepfilternet.

isgursoy avatar isgursoy commented on August 16, 2024

following

from deepfilternet.

isgursoy avatar isgursoy commented on August 16, 2024

@aaronhsueh0506 can you share implementation of your realtime loop? Specifically fix of #76

from deepfilternet.

aaronhsueh0506 avatar aaronhsueh0506 commented on August 16, 2024

Hi,

I have tried to use small lr to solve typing noise.
So close this issue.

from deepfilternet.

JBloodless avatar JBloodless commented on August 16, 2024

Hi,

I think you can look paper of Deepfilternet2, and other streaming method "google-research" in Github. Now I can do frame-in-frame-out for DeepFilterNet, but if you want to deploy to embedded device, you need to quantize GRU by yourself (maybe use C/C++)

How did you manage to get rid of border effects in real-time mode? Did you modify convolutional layers?

from deepfilternet.

aaronhsueh0506 avatar aaronhsueh0506 commented on August 16, 2024

Hi,
I think you can look paper of Deepfilternet2, and other streaming method "google-research" in Github. Now I can do frame-in-frame-out for DeepFilterNet, but if you want to deploy to embedded device, you need to quantize GRU by yourself (maybe use C/C++)

How did you manage to get rid of border effects in real-time mode? Did you modify convolutional layers?

No, I did not modify CNN, because kernel is 3x3 for first layer and 1x3 for others in Deepfilternet2. Here you can queue a buffer with 3 frames, and you can get one time-stamp output mask and coefficients for DF.

from deepfilternet.

JBloodless avatar JBloodless commented on August 16, 2024

@aaronhsueh0506 thanks for the reply! Can I ask you, what frame size did you use for the streaming implementation, and did you use overlapped frames?

from deepfilternet.

aaronhsueh0506 avatar aaronhsueh0506 commented on August 16, 2024

@aaronhsueh0506 thanks for the reply! Can I ask you, what frame size did you use for the streaming implementation, and did you use overlapped frames?

20ms frame size and 50% overlap

from deepfilternet.

JBloodless avatar JBloodless commented on August 16, 2024

Thank you!

from deepfilternet.

akashrajkn avatar akashrajkn commented on August 16, 2024

No, I did not modify CNN, because kernel is 3x3 for first layer and 1x3 for others in Deepfilternet2. Here you can queue a buffer with 3 frames, and you can get one time-stamp output mask and coefficients for DF.

@aaronhsueh0506 Can you share the implementation? I wasn't able to get this working. Thanks in advance :)

from deepfilternet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.