r9y9 / wavenet_vocoder

WaveNet vocoder
https://r9y9.github.io/wavenet_vocoder/
Other
2.31k stars 499 forks source link

ValueError: operands could not be broadcast together with shapes (1,513) (0,) #146

Closed Eurus-Holmes closed 5 years ago

Eurus-Holmes commented 5 years ago

When running Online TTS demo on colab,

ValueError: operands could not be broadcast together with shapes (1,513) (0,)

屏幕快照 2019-04-15 下午2 44 53
jybaek commented 5 years ago

it's a library bug. try to use the librosa version 0.6.2 or higher.

Eurus-Holmes commented 5 years ago

@jybaek Thanks for your reply! But the ValueError occurred after running

# Remove old files if exist
! rm -rf tacotron_output
! python synthesize.py --model='Tacotron' --mode='eval' \
  --hparams='symmetric_mels=False,max_abs_value=4.0,power=1.1,outputs_per_step=1' \
  --text_list=./text_list.txt

and...how can I update the librosa version on colab...

jybaek commented 5 years ago

fyi @Eurus-Holmes

! pip install -U librosa==0.6.2

and your ValueError is must be open a new issue. more detail.

Eurus-Holmes commented 5 years ago

@jybaek hi, thanks for your help, I have updated the librosa version. And, I have also opened a new issue for more details.