andabi / deep-voice-conversion

Deep neural networks for voice conversion (voice style transfer) in Tensorflow
MIT License
3.92k stars 843 forks source link

It doesn't work with CUDA 10 #88

Open mianor64 opened 5 years ago

mianor64 commented 5 years ago

Hi,

While trying to run train1.py, I receive this error: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "/usr/lib/python3.6/imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "/usr/lib/python3.6/imp.py", line 343, in load_dynamic return _load(spec) ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

My server (with GPU) is setup to run CUDA 10. I also tried to run train1.py on Google Colab but it looks like CUDA 9.2 is used and I get the same error in both environments.

Is there a file to modify CUDA version used?

Thanks for your help.

YashBangera7 commented 5 years ago

https://github.com/philferriere/dlwin This might help you :)

mianor64 commented 5 years ago

CUDA 10, not Windows 10 :)

mindmapper15 commented 5 years ago

You have to update tensorflow package to newest version. I think. The author of this repository recommended to run this code on at least tensorflow 1.8, which is compiled with CUDA 9.

Either you have to build tensorflow 1.8 on your own with CUDA 10, or just install newest version of tensorflow :)