mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
Bug solve on attention module and a new Notebook to experiment spectrogram reconstruction
This commit is contained in:
+3
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user