Closed Mingrg closed 4 years ago
my numpy version is 1.18.1
my numpy version is 1.18.1
thx! @dathudeptrai I found that in version 1.18, "mode" uses "constant" by default.
I changed the code to:
durs_cum = np.cumsum(np.pad(durs, (1, 0), mode='constant'))
In numpy version 1.16.4 and it wored.
In examples/fastspeech2/fastspeech2_dataset.py, line 33.
I got an error like:
Seem like I used the wrong version of numpy or something? How should I pad in this situation? My numpy version is 1.16.4.