Skip to content

Commit

Permalink
Merge pull request #118 from Ola-Vish/patch-1
Browse files Browse the repository at this point in the history
misused np.swapaxes
  • Loading branch information
r9y9 authored Oct 5, 2018
2 parents a2fa041 + 77c57eb commit af84725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def wavegen(model, length=None, c=None, g=None, initial_value=None,
if conditional_path is not None:
c = np.load(conditional_path)
if c.shape[1] != hparams.num_mels:
np.swapaxes(c, 0, 1)
c = np.swapaxes(c, 0, 1)
if max_abs_value > 0:
min_, max_ = 0, max_abs_value
if symmetric_mels:
Expand Down

0 comments on commit af84725

Please sign in to comment.