Setting up network size according to the reference paper

This commit is contained in:
Eren G
2018-08-08 12:34:44 +02:00
parent 790a1b4639
commit d5febfb187
4 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -120,9 +120,9 @@ class AudioProcessor(object):
D = processor.run_lws(S.astype(np.float64).T**self.power)
y = processor.istft(D).astype(np.float32)
# Reconstruct phase
sys.stdout = old_out
if self.preemphasis:
return self.apply_inv_preemphasis(y)
sys.stdout = old_out
return y
def _linear_to_mel(self, spectrogram):