Closed bllurr closed 4 years ago
Have you tried demo_cli.py? I have never used the toolbox. Likely some part of it needs to be updated for compatibility with the recent changes.
Take a look at https://github.com/librosa/librosa/issues/219, you may need to install a backend.
@blue-fish now this happens after i installed ffmpeg:
Traceback (most recent call last):
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\toolbox\__init__.py", line 87, in <lambda>
func = lambda: self.synthesize() or self.vocode()
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\toolbox\__init__.py", line 173, in synthesize
specs = self.synthesizer.synthesize_spectrograms(texts, embeds)
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 77, in synthesize_spectrograms
self.load()
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 58, in load
self._model = Tacotron2(self.checkpoint_fpath, hparams)
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\tacotron2.py", line 59, in __init__
self.session = tf.compat.v1.Session(config=config)
File "C:\Users\fcbge\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\client\session.py", line 1585, in __init__
super(Session, self).__init__(target, graph, config=config)
File "C:\Users\fcbge\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\client\session.py", line 699, in __init__
self._session = tf_session.TF_NewSessionRef(self._graph._c_graph, opts)
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
Which version of tensorflow are you using? If it is 1.15 may I suggest that you use demo_cli.py until the toolbox is updated to offer CPU support.
To use tensorflow on GPU requires a specific CUDA driver version to be installed. tensorflow==1.15 requires CUDA 10.0. https://www.tensorflow.org/install/source_windows#gpu
I tried option no 2 but it shows the same error, I want to try option 1 but how do you use the CPU option? @blue-fish
python demo_cli.py --cpu
@blue-fish I tried that but this happens:
Traceback (most recent call last):
File "demo_cli.py", line 95, in <module>
mels = synthesizer.synthesize_spectrograms(texts, embeds)
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 77, in synthesize_spectrograms
self.load()
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 58, in load
self._model = Tacotron2(self.checkpoint_fpath, hparams)
File "C:\Users\fcbge\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\tacotron2.py", line 59, in __init__
self.session = tf.compat.v1.Session(config=config)
File "C:\Users\fcbge\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\client\session.py", line 1585, in __init__
super(Session, self).__init__(target, graph, config=config)
File "C:\Users\fcbge\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\client\session.py", line 699, in __init__
self._session = tf_session.TF_NewSessionRef(self._graph._c_graph, opts)
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
I'm about out of ideas...
tensorflow-gpu
pip list
or conda list
will return this information.Hi @bllurr , did you get it to work?
The last issue is a duplicate of #321 (no solution posted). If you were able to get past that step would you please share your solution?
You might also want to check out #398 as an potential alternative if you continue to have issues with the setup.
Hi @bllurr , I am closing this issue because it has not been updated in a while. I hope you were able to get the toolbox to work. It would be nice to know the current status. Feel free to reopen this issue if you have any questions or comments.
yaa, m to facing same argument problem
So... I have managed to successfully install the toolbox with other components as well such as CUDA, cuDNN, Pytorch, and pre-trained models. I opened the toolbox and record my own voice, but when I click synthesize and vocode, nothing happens on the toolbox, but in cmd, there is an error message: