Skip to content

Commit af84725

Browse files
authored
Merge pull request #118 from Ola-Vish/patch-1
misused np.swapaxes
2 parents a2fa041 + 77c57eb commit af84725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synthesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def wavegen(model, length=None, c=None, g=None, initial_value=None,
169169
if conditional_path is not None:
170170
c = np.load(conditional_path)
171171
if c.shape[1] != hparams.num_mels:
172-
np.swapaxes(c, 0, 1)
172+
c = np.swapaxes(c, 0, 1)
173173
if max_abs_value > 0:
174174
min_, max_ = 0, max_abs_value
175175
if symmetric_mels:

0 commit comments

Comments
 (0)