MrDeepFakes Forums

Some content may not be available to Guests. Consider registering an account to enjoy unrestricted access to guides, support and tools

  • We are looking for community members who are intested in helping out. See our HELP WANTED post.

DeepFaceLab Linux erorr

Tetsuo5719

DF Vagrant
Hey there. I thought I'd use a spare PC for a couple of days to train while I'm using my main. This spare has the latest Ubuntu installed, but I don't use Linux everyday and have run into an issue.

python main.py train --training-data-src-dir ~/DeepFaceLab_Linux/manson/data_src/ --training-data-dst-dir ~/DeepFaceLab_Linux/manson/data_dst/ --model-dir ~/DeepFaceLab_Linux/manson/model/ --model SAE
Running trainer.

Loading model...
Press enter in 2 seconds to override model settings.Error: module 'tensorflow' has no attribute 'ConfigProto'
Traceback (most recent call last):
  File "/home/colleen/DeepFaceLab_Linux/mainscripts/Trainer.py", line 49, in trainerThread
    device_args=device_args)
  File "/home/colleen/DeepFaceLab_Linux/models/ModelBase.py", line 149, in __init__
    nnlib.import_all(self.device_config)
  File "/home/colleen/DeepFaceLab_Linux/nnlib/nnlib.py", line 756, in import_all
    nnlib.import_keras(device_config)
  File "/home/colleen/DeepFaceLab_Linux/nnlib/nnlib.py", line 165, in import_keras
    nnlib._import_tf(device_config)
  File "/home/colleen/DeepFaceLab_Linux/nnlib/nnlib.py", line 138, in _import_tf
    config = tf.ConfigProto(device_count={'GPU': 0})
AttributeError: module 'tensorflow' has no attribute 'ConfigProto'

A quick web search tells me I might need an earlier version of tensorflow, but I tried that and ran into a wall of errors about images not needing to be trained. Halp plz.
 

tet

DF Vagrant
HELP ::
On the Linux fork:

My machine is suddenly jumping directly to CPU when I run the 7_convert_H128 script, then terminating before finishing the conversion.

I run this on the Linux-fork (https://github.com/lbfs/DeepFaceLab_Linux) on a Quadro P5000 (16 GB).

I have my trained model and urgently need help with converting
 

[deleted]

DF Vagrant
tet said:
HELP ::
On the Linux fork:

My machine is suddenly jumping directly to CPU when I run the 7_convert_H128 script, then terminating before finishing the conversion.

I run this on the Linux-fork (https://github.com/lbfs/DeepFaceLab_Linux) on a Quadro P5000 (16 GB).

I have my trained model and urgently need help with converting

do you have an integrated cpu as well as a GPU? are you using the official Nvidia driver? (the noveau driver lacks cuda support). what distro are you on? are you using bumblebee? what is the output of nvidia-smi?
 
Top