Traceback (most recent call last):


 "synthesize.py", line 100, in <module>

main()


 "synthesize.py", line 90, in main

_ = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/Tacotron-2/tacotron/synthesize.py", line 136, in tacotron_synthesize

return run_eval(args, checkpoint_path, output_dir, hparams, sentences)


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/Tacotron-2/tacotron/synthesize.py", line 69, in run_eval

mel_filenames, speaker_ids = synth.synthesize(texts, basenames, eval_dir, log_dir, None)


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/Tacotron-2/tacotron/synthesizer.py", line 219, in synthesize

audio.save_wav(wav, os.path.join(log_dir, 'wavs/wav-{}-mel.wav'.format(basenames[i])), sr=hparams.sample_rate)


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/Tacotron-2/datasets/audio.py", line 13, in save_wav

wav *= 32767 / max(0.01, np.max(np.abs(wav)))


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2320, in amax

out=out, **kwargs)


 "/Users/davidecangelosi/Desktop/workspace/venv3_01/lib/python3.7/site-packages/numpy/core/_methods.py", line 26, in _amax

return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity

Traceback (most recent call last):


 "SimpleExampleServer.py", line 71, in <module>

server.serveforever()


 "/home/nvidia/voice/websocket/SimpleWebSocketServer/SimpleWebSocketServer.py", line 688, in serveforever

super(SimpleSSLWebSocketServer, self).serveforever()


 "/home/nvidia/voice/websocket/SimpleWebSocketServer/SimpleWebSocketServer.py", line 646, in serveforever

client.handleClose()


 "SimpleExampleServer.py", line 38, in handleClose

clients.remove(self)
ValueError: list.remove(x): x not in list
