Bug solve on attention module and a new Notebook to experiment spectrogram reconstruction

This commit is contained in:
Eren Golge
2018-01-31 07:21:22 -08:00
parent 9a22f5d085
commit 1320d5344a
17 changed files with 928 additions and 51 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ import numpy as np
def pad_data(x, length):
_pad = 0
return np.pad(x, (0, length - x.shape[0]), mode='constant', constant_values=_pad)
return np.pad(x, (0, length - x.shape[0]),
mode='constant',
constant_values=_pad)
def prepare_data(inputs):