So, trying to look at this, and doing an install on a fresh Windows 10 machine, 1080 TI card installed. During convert, I get terrible (like 2it/s).. when I look at the install, I receive this:
quote MiniConda installed: conda 4.9.1
(check) CPU Supports AVX Instructions
(check) CPU Supports SSE4 Instructions
(check) Completed check for installed applications
(check) Setting up for: nvidia
Miniconda3 installed.
Initializing Conda...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
Package Plan
environment location: C:\Users\Chris\MiniConda3
added / updated specs:
- conda
The following packages will be downloaded:
package | build |
---|---|
certifi-2020.6.20 | pyhd3eb1b0_3 155 KB |
Total: 155 KB
The following packages will be UPDATED:
certifi pkgs/main/win-64::certifi-2020.6.20-p~ --> pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
Downloading and Extracting Packages
certifi-2020.6.20 | 155 KB | | 0% certifi-2020.6.20 | 155 KB | ### | 31% certifi-2020.6.20 | 155 KB | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Creating Conda Virtual Environment...
Remove all packages in environment C:\Users\Chris\MiniConda3\envs\faceswap:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
Package Plan
environment location: C:\Users\Chris\MiniConda3\envs\faceswap
added / updated specs:
- python=3.8
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2020.10.14-0
certifi pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
openssl pkgs/main/win-64::openssl-1.1.1h-he774522_0
pip pkgs/main/win-64::pip-20.2.4-py38_0
python pkgs/main/win-64::python-3.8.5-h5fd99cc_1
setuptools pkgs/main/win-64::setuptools-50.3.0-py38h9490d1a_1
sqlite pkgs/main/win-64::sqlite-3.33.0-h2a8f88b_0
vc pkgs/main/win-64::vc-14.1-h0510ff6_4
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.16.27012-hf0eaf9b_3
wheel pkgs/main/noarch::wheel-0.35.1-py_0
wincertstore pkgs/main/win-64::wincertstore-0.2-py38_0
zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_4
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
#
To activate this environment, use
#
$ conda activate faceswap
#
To deactivate an active environment, use
#
$ conda deactivate
Installing Git...
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
Package Plan
environment location: C:\Users\Chris\MiniConda3\envs\faceswap
added / updated specs:
- git
The following NEW packages will be INSTALLED:
git pkgs/main/win-64::git-2.23.0-h6bb4b03_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Downloading Faceswap...
Cloning into 'C:\Users\Chris\faceswap'...
Setting up FaceSwap Environment... This may take a while
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
tensorflow-gpu[version='>=2.2.0,<2.3.0']
Current channels:https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... donePackage Plan
environment location: C:\Users\Chris\MiniConda3\envs\faceswap
added / updated specs:cudatoolkit==10.1.243
The following NEW packages will be INSTALLED:
cudatoolkit pkgs/main/win-64::cudatoolkit-10.1.243-h74a9793_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... donePackage Plan
environment location: C:\Users\Chris\MiniConda3\envs\faceswap
added / updated specs:cudnn==7.6.5
The following NEW packages will be INSTALLED:
cudnn pkgs/main/win-64::cudnn-7.6.5-cuda10.1_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting tensorflow-gpu<2.3.0,>=2.2.0
Downloading tensorflow_gpu-2.2.1-cp38-cp38-win_amd64.whl (460.4 MB)
Collecting numpy<1.19.0,>=1.16.0
Downloading numpy-1.18.5-cp38-cp38-win_amd64.whl (12.8 MB)
Collecting tensorflow-gpu-estimator<2.3.0,>=2.2.0
Downloading tensorflow_gpu_estimator-2.2.0-py2.py3-none-any.whl (470 kB)
Collecting tensorboard<2.3.0,>=2.2.0
Downloading tensorboard-2.2.2-py3-none-any.whl (3.0 MB)
Requirement already satisfied: six>=1.12.0 in c:\users\chris\miniconda3\envs\faceswap\lib\site-packages (from tensorflow-gpu<2.3.0,>=2.2.0) (1.15.0)
Collecting gast==0.3.3
Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting protobuf>=3.8.0
Downloading protobuf-3.13.0-py2.py3-none-any.whl (438 kB)
Collecting wrapt>=1.11.1
Downloading wrapt-1.12.1.tar.gz (27 kB)
Collecting opt-einsum>=2.3.2
Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting keras-preprocessing>=1.1.0
Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting astunparse==1.6.3
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting absl-py>=0.7.0
Downloading absl_py-0.11.0-py3-none-any.whl (127 kB)
Collecting h5py<2.11.0,>=2.10.0
Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl (2.5 MB)
Collecting termcolor>=1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting google-pasta>=0.1.8
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in c:\users\chris\miniconda3\envs\faceswap\lib\site-packages (from tensorflow-gpu<2.3.0,>=2.2.0) (0.35.1)
Collecting grpcio>=1.8.6
Downloading grpcio-1.33.2-cp38-cp38-win_amd64.whl (2.7 MB)
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting werkzeug>=0.11.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting requests<3,>=2.21.0
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting markdown>=2.6.8
Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\chris\miniconda3\envs\faceswap\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu<2.3.0,>=2.2.0) (50.3.0.post20201006)
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting rsa<5,>=3.1.4; python_version >= "3.5"
Downloading rsa-4.6-py3-none-any.whl (47 kB)
Collecting pyasn1-modules>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\chris\miniconda3\envs\faceswap\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu<2.3.0,>=2.2.0) (2020.6.20)
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting pyasn1>=0.1.3
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Building wheels for collected packages: wrapt, termcolor
Building wheel for wrapt (setup.py): started
Building wheel for wrapt (setup.py): finished with status 'done'
Created wheel for wrapt: filename=wrapt-1.12.1-py3-none-any.whl size=19558 sha256=1e1411309f1b0d25086d61d8afc24cbbd9eb41ac32cc58fd8850095b96a6e1b4
Stored in directory: C:\Users\Chris\AppData\Local\Temp\pip-ephem-wheel-cache-508ucmwb\wheels\5f\fd\9e\b6cf5890494cb8ef0b5eaff72e5d55a70fb56316007d6dfe73
Building wheel for termcolor (setup.py): started
Building wheel for termcolor (setup.py): finished with status 'done'
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4835 sha256=c303faf3b6d72831c7b70eb077241e78299a81bf79efd3b8498144fe26da36ff
Stored in directory: C:\Users\Chris\AppData\Local\Temp\pip-ephem-wheel-cache-508ucmwb\wheels\a0\16\9c\5473df82468f958445479c59e784896fa24f4a5fc024b0f501
Successfully built wrapt termcolor
Installing collected packages: numpy, tensorflow-gpu-estimator, tensorboard-plugin-wit, cachetools, pyasn1, rsa, pyasn1-modules, google-auth, absl-py, protobuf, oauthlib, urllib3, idna, chardet, requests, requests-oauthlib, google-auth-oauthlib, werkzeug, markdown, grpcio, tensorboard, gast, wrapt, opt-einsum, keras-preprocessing, astunparse, h5py, termcolor, google-pasta, tensorflow-gpu
Attempting uninstall: numpy
Found existing installation: numpy 1.19.2
Uninstalling numpy-1.19.2:
Successfully uninstalled numpy-1.19.2
Successfully installed absl-py-0.11.0 astunparse-1.6.3 cachetools-4.1.1 chardet-3.0.4 gast-0.3.3 google-auth-1.23.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.33.2 h5py-2.10.0 idna-2.10 keras-preprocessing-1.1.2 markdown-3.3.3 numpy-1.18.5 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.13.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.24.0 requests-oauthlib-1.3.0 rsa-4.6 tensorboard-2.2.2 tensorboard-plugin-wit-1.7.0 tensorflow-gpu-2.2.1 tensorflow-gpu-estimator-2.2.0 termcolor-1.1.0 urllib3-1.25.11 werkzeug-1.0.1 wrapt-1.12.1
INFO Running as Root/Admin
INFO The tool provides tips for installation
and installs required python packages
INFO Setup in Windows 10
INFO Installed Python: 3.8.5 64bit
INFO Running in Conda
INFO Running in a Virtual Environment
INFO Encoding: cp1252
INFO Installed pip: 20.2.4
INFO Faceswap config written to: C:\Users\Chris\faceswap\config\.faceswap
INFO Installing Required Conda Packages. This may take some time...
INFO Installing tk
INFO Installing Required Python Packages. This may take some time...
INFO Installing tqdm>=4.42
INFO Installing psutil>=5.7.0
INFO Installing pathlib==1.0.1
INFO Installing numpy>=1.18.0
INFO Installing opencv-python>=4.1.2.0
INFO "opencv-python>=4.1.2.0" not available in Conda. Installing with pip
INFO Installing opencv-python>=4.1.2.0
INFO Installing pillow>=7.0.0
INFO Installing scikit-learn>=0.22.0
INFO Installing fastcluster==1.1.26
INFO Installing matplotlib>=3.0.3,<3.3.0
INFO Installing imageio>=2.8.0
INFO Installing imageio-ffmpeg>=0.4.2
INFO Installing ffmpy==0.2.3
INFO ffmpy==0.2.3 not available in Conda. Installing with pip
INFO Installing ffmpy==0.2.3
INFO Installing pywin32>=227
INFO Installing tensorflow-gpu>=2.2.0,<2.3.0
INFO "tensorflow-gpu>=2.2.0,<2.3.0" not available in Conda. Installing with pip
INFO Installing cudatoolkit==10.1.243
INFO Installing cudnn==7.6.5
INFO Installing tensorflow-gpu>=2.2.0,<2.3.0
INFO Installing git+https://github.com/deepfakes/nvidia-ml-py3.git
INFO All python3 dependencies are met.
You are good to go.
Enter: 'python faceswap.py -h' to see the options
'python faceswap.py gui' to launch the GUI
Creating GUI Launcher
Output folder: C:\Users\Chris\faceswap
Creating Desktop Shortcut
Create shortcut: C:\Users\Chris\Desktop\FaceSwap.lnk
ExecShell: open https://www.faceswap.dev
Visit https://www.faceswap.dev for help and support.
Completed
[/quote]
So it seems to find Cuda? But then during any run of system information, it gives me this:
============ System Information ============
encoding: cp1252
git_branch: master
git_commits: c24bf2b GUI - Revert Conda default font fix
gpu_cuda: No global version found. Check Conda packages for Conda Cuda
gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: GeForce GTX 1080
gpu_devices_active: GPU_0
gpu_driver: 456.71
gpu_vram: GPU_0: 8192MB
os_machine: AMD64
So, I'm not sure if things are right and it is using it but performance is just this slow? Or if it is wrong and I need to change something. nvidia-smi reports this:
| NVIDIA-SMI 456.71 Driver Version: 456.71 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1080 WDDM | 00000000:09:00.0 On | N/A |
| 30% 45C P2 63W / 180W | 7681MiB / 8192MiB | 1% Default |
+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1424 C+G Insufficient Permissions N/A |
| 0 N/A N/A 10612 C ...\envs\faceswap\python.exe N/A |
| 0 N/A N/A 11000 C+G ...artMenuExperienceHost.exe N/A |
| 0 N/A N/A 11468 C+G ...5n1h2txyewy\SearchApp.exe N/A |
| 0 N/A N/A 13792 C+G ...ge\Application\msedge.exe N/A |
| 0 N/A N/A 14208 C+G ...nputApp\TextInputHost.exe N/A |
| 0 N/A N/A 19724 C+G ...y\ShellExperienceHost.exe N/A |
| 0 N/A N/A 20804 C+G ...signal-desktop\Signal.exe N/A |
| 0 N/A N/A 22864 C+G ...8wekyb3d8bbwe\GameBar.exe N/A |
+-----------------------------------------------------------------------------+