Closed leu83 closed 5 years ago
Don't use the Docker. Re-run setup.py but say n
to docker
Thanks. Now it seems as if cudNN is not installed, even though I did this:
$ CUDNN_FILE="cudnn-9.0-linux-x64-v7.2.1.38"
$ wget https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.2.1/
prod/9.0_20180806/${CUDNN_FILE}
$ tar -xzvf ${CUDNN_FILE}
Then this:
$ sudo cp -P cuda/include/cudnn.h /usr/local/cuda-9.0/include
$ sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda-9.0/lib64/
$ sudo chmod a+r /usr/local/cuda-9.0/lib64/libcudnn*
Now I'm getting this:
INFO The tool provides tips for installation
and installs required python packages
INFO Setup in Linux 4.15.0-55-generic
INFO Installed Python: 3.7.3 64bit
INFO Encoding: UTF-8
INFO Upgrading pip...
INFO Installed pip: 19.2.1
INFO AMD Support: AMD GPU support is currently limited.
Nvidia Users MUST answer 'no' to this option.
Enable AMD Support? [y/N] n
INFO AMD Support Disabled
Enable Docker? [y/N] n
INFO Docker Disabled
Enable CUDA? [Y/n] y
INFO CUDA Enabled
INFO CUDA version: 9.0
ERROR cuDNN not found. See https://github.com/deepfakes/faceswap/blob/master/INSTALL.md#cudnn for instructions
WARNING The minimum Tensorflow requirement is 1.12.
Tensorflow currently has no official prebuild for your CUDA, cuDNN combination.
Either install a combination that Tensorflow supports or build and install your own tensorflow-gpu.
CUDA Version: 9.0
cuDNN Version:
Help:
Building Tensorflow: https://www.tensorflow.org/install/install_sources
Tensorflow supported versions: https://www.tensorflow.org/install/source#tested_build_configurations
Location of custom tensorflow-gpu wheel (leave blank to manually install):
How can I tell if cudNN is correctly installed?
If you setup in a Conda environment, you can completely remove system Cuda/cuDNN and just let setup.py install Cuda for you.
I think I have tried both running setup.py in (base) and (condaEnv) but still getting cudNN Version: (empty)
It might be possible that tensorflow is not correctly installed though...
I'm trying to install faceswap in Ubuntu 18.04 I've managed to install Nvidia drivers, Cuda, Docker and Anaconda. Then, after creating a virtual environment, I clone the repo using git. Then I ran
After this, I try to run this:
sudo docker build -t deepfakes-gpu -f Dockerfile.gpu .
But I get this:Isn't git installed inside virtual environment?