r9y9 / deepvoice3_pytorch

PyTorch implementation of convolutional neural networks-based text-to-speech synthesis models
https://r9y9.github.io/deepvoice3_pytorch/
Other
1.97k stars 485 forks source link

Using deprecated Tensorflow 1. #213

Open nspeer12 opened 4 years ago

nspeer12 commented 4 years ago

Tensorflow 1 is being used in hparams.py. Tensorflow 1 is not a specified requirement, nor is it supported anymore. Tensorflow.contrib.haparms has been moved to from tensorboard.plugins.hparams, however it will need to be reimplemented because the classes are not the same.

rachejazz commented 3 years ago

got the same error as well. I am guessing there is not much difference with the voice output if tf 1.x is continued in this. A quick fix for now I did was:

%tensorflow_version 1.x
import tensorflow as tf
print(tf.__version__)

Hoping there will be an update in the classes