This commit is contained in:
shahules786 2022-11-08 17:18:45 +05:30
parent c4e392aff5
commit cad0bbedc8
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
defaults:
- model : Demucs
- dataset : DNS-2020
- model : DCCRN
- dataset : Vctk
- optimizer : Adam
- hyperparameters : default
- trainer : default

View File

@ -1,6 +1,6 @@
loss : si-snr
metric : [stoi,pesq]
lr : 0.0003
lr : 0.001
ReduceLr_patience : 10
Early_stop : False
ReduceLr_factor : 0.2

View File

@ -1,2 +1,2 @@
experiment_name : shahules/enhancer
run_name : Demucs-DNS30
run_name : DCCRN-Vctk28

View File

@ -86,6 +86,7 @@ class ConviSTFT(ConvFFT):
out = F.conv_transpose1d(input, self.weight, stride=self.hop_size)
coeff = self.window.unsqueeze(1).repeat(1, 1, input.size(-1)) ** 2
coeff.to(input.device)
self.enframe.to(input.device)
coeff = F.conv_transpose1d(coeff, self.enframe, stride=self.hop_size)
out = out / (coeff + 1e-8)
pad = self.window_len - self.hop_size