Comments (3)
First of all, thank you very much for your correction on this code! I will fix this part later.
Secondly, I don't quite understand what you said about clipping, because the code subsequently normalizes the enchanced. Will this cause a clipping problem?
enhanced = np.int16(0.8 * amp * enhanced / np.max(np.abs(enhanced)))
from fullsubnet-plus.
What causes signal values that are out of range [-1,1] is the masking itself. (cIRM amplitudes larger than 1). This is due to the model and is a common cIRM problem.
If I understand correctly, you normalize the enhanced signal to [-0.8,0.8], thus avoiding this problem.
This fixes it, but this isn't a solution that can be used in a real life live system. (for academia it is good enough though).
In a real life system (where you receive frames and not the full signal), you would need an adaptive gain control normalization or something like that. You can't just assume that you have the whole signal in advance and normalize every couple of frames to [-0.8, 0.8] since that would amplify the noise in some cases. hope this helped.
from fullsubnet-plus.
Thank you very much for your response, it has been quite helpful to me!
from fullsubnet-plus.
Related Issues (20)
- Model causality HOT 2
- Query regarding Causality of Model HOT 7
- About the efficiency of the MulCA module HOT 5
- Control the strength of Enhancement HOT 3
- Question about the output of Quick Start. HOT 5
- soundfile.LibsndfileError: Error opening 'xx/xx/xx.wav': File contains data in an unknown format. HOT 8
- How do I create my own dataset? HOT 3
- 有关流式推理的探索。 HOT 3
- OSError: [Errno 22] Invalid argument: '.../FullSubNet-plus/result/output/2022-11-11 01:25:28.toml' HOT 5
- When I'm training the test loss is zero HOT 1
- Inference is getting Killed automatically. HOT 3
- Error occurred while training the FullSubNet-Plus model HOT 4
- pypesq install failure HOT 2
- Will the use of AdaptiveAvgPool1d in MulCA lead to loss of causality? HOT 1
- num_groups_in_drop_band的问题 HOT 1
- train.toml出错 HOT 6
- torch.istft requires a complex-valued input tensor matching the output from stft with return_complex=True HOT 2
- Loss function clarification
- 关于rir数据
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 fullsubnet-plus.