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.
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.