I can't seem to train from GPU

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
McMackMadWack
Posts: 2
Joined: Fri Nov 20, 2020 11:13 pm

I can't seem to train from GPU

Post by McMackMadWack »

I've read everything I can find and have done everything I've seen to do, but when in training it still seems to be utilizing my CPU instead of GPU. Training gives me about 10 iterations/minute. Not sure how to get it to use the GPU. I'm using an nvidia GeForce GTX660 with the latest driver. It seems to recognize the video card. Below is my "output system information". Any idea on what I need to do to get more than 10 iterations/minute?

Code: Select all

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         c24bf2b GUI - Revert Conda default font fix
gpu_cuda:            11.1
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce GTX 660
gpu_devices_active:  GPU_0
gpu_driver:          457.30
gpu_vram:            GPU_0: 2048MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.19041-SP0
os_release:          10
py_command:          C:\Users\doubl.DESKTOP-IDVVRN9\Desktop\DeepFakes\faceswap/faceswap.py gui
py_conda_version:    conda 4.9.2
py_implementation:   CPython
py_version:          3.8.5
py_virtual_env:      True
sys_cores:           8
sys_processor:       Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
sys_ram:             Total: 16364MB, Available: 13720MB, Used: 2644MB, Free: 13720MB

=============== Pip Packages ===============
absl-py==0.11.0
astunparse==1.6.3
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
cycler==0.10.0
fastcluster==1.1.26
ffmpy==0.2.3
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
imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1589202782679/work
joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work
Keras-Preprocessing==1.1.2
kiwisolver @ file:///C:/ci/kiwisolver_1604014703538/work
Markdown==3.3.3
matplotlib @ file:///C:/ci/matplotlib-base_1592837548929/work
mkl-fft==1.2.0
mkl-random==1.1.1
mkl-service==2.3.0
numpy==1.18.5
nvidia-ml-py3 @ git+https://github.com/deepfakes/nvidia-ml-py3.git@6fc29ac84b32bad877f078cb4a777c1548a00bf6
oauthlib==3.1.0
olefile==0.46
opencv-python==4.4.0.46
opt-einsum==3.3.0
pathlib==1.0.1
Pillow @ file:///C:/ci/pillow_1603823068645/work
protobuf==3.13.0
psutil @ file:///C:/ci/psutil_1598370330503/work
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
python-dateutil==2.8.1
pywin32==227
requests==2.25.0
requests-oauthlib==1.3.0
rsa==4.6
scikit-learn @ file:///C:/ci/scikit-learn_1598377018496/work
scipy @ file:///C:/ci/scipy_1604596260408/work
sip==4.19.13
six @ file:///C:/ci/six_1605187374963/work
tensorboard==2.2.2
tensorboard-plugin-wit==1.7.0
User avatar
torzdf
Posts: 2671
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: I can't seem to train from GPU

Post by torzdf »

Unfortunately the compute capability of your GPU is 3.0 and the minimum required for Tensorflow 2.x is 3.5.

However, I believe you can still use Faceswap v1.0 on that GPU which runs Tensorflow 1.15:

https://github.com/deepfakes/faceswap/r ... tag/v1.0.0

My word is final

User avatar
McMackMadWack
Posts: 2
Joined: Fri Nov 20, 2020 11:13 pm

Re: I can't seem to train from GPU

Post by McMackMadWack »

bummer, sounds like it's time to upgrade. I'll run the 1.0 for now, thanks for the fast reply!

Locked