[Downgrading Tensorflow] - Training fails w/ 3-GPUs

Training your model
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Post Reply
User avatar
Chach_Pls
Posts: 1
Joined: Mon Dec 02, 2019 1:08 am

[Downgrading Tensorflow] - Training fails w/ 3-GPUs

Post by Chach_Pls » Mon Dec 02, 2019 1:22 am

I recently added a 3rd GPU to my system and have been experiencing a general CUDA failure to load all 3 cards. All of my GPUs worked individually and in pairs, just not all 3.

How would I go about downgrading the tensorflow library manually (without having to rebuild from scratch)?
by torzdf » Mon Dec 02, 2019 1:41 am
I assume you are on Windows?

If so, and assuming that you kept your virtual environment name the default faceswap

Start > Anaconda Prompt

Code: Select all

conda activate faceswap

conda remove tensorflow

conda install tensorflow-gpu==1.13.1

cd faceswap

python update_deps.py
The last command is required because uninstalling Tensorflow also removes some libs that Faceswap depends on, so this puts them back.

If you are not on Windows, then these commands should just work from a standard terminal.
Go to full post

User avatar
torzdf
Posts: 225
Joined: Fri Jul 12, 2019 12:53 am
Answers: 57
Has thanked: 8 times
Been thanked: 43 times

Re: [Downgrading Tensorflow] - Training fails w/ 3-GPUs

Post by torzdf » Mon Dec 02, 2019 1:41 am

I assume you are on Windows?

If so, and assuming that you kept your virtual environment name the default faceswap

Start > Anaconda Prompt

Code: Select all

conda activate faceswap

conda remove tensorflow

conda install tensorflow-gpu==1.13.1

cd faceswap

python update_deps.py
The last command is required because uninstalling Tensorflow also removes some libs that Faceswap depends on, so this puts them back.

If you are not on Windows, then these commands should just work from a standard terminal.
My word is final

Post Reply