DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Training Fails using SAEHD

Open VictorHermez opened this issue 4 years ago • 13 comments

Ok, so when i entered through on default, it still fails. i dont understand the code, but it seems that it does not match model requirements? did i extract the images from video incorrectly? for both source and destination i did S3FD Full Face.... so it should be working correctly, if i understand. but it seems like i do not all the way. would like to get some help. thanks guys.

would be nice to get a updated tutorial on this as i dont see one anywhere.

Running trainer.

[new] No saved models found. Enter a name of a new model : Jax Jax

Model first run.

Choose one or several GPU idxs (separated by comma).

[CPU] : CPU [0] : GeForce RTX 2080 Ti

[0] Which GPU indexes to choose? : 0

[0] Autobackup every N hour ( 0..24 ?:help ) : 0 [n] Write preview history ( y/n ?:help ) : n [0] Target iteration : 0 [y] Flip faces randomly ( y/n ?:help ) : y [8] Batch_size ( ?:help ) : 8 [224] Resolution ( 64-512 ?:help ) : 224 [wf] Face type ( h/mf/f/wf ?:help ) : wf [dfhd] AE architecture ( df/liae/dfhd/liaehd/liaech ?:help ) : dfhd [256] AutoEncoder dimensions ( 32-1024 ?:help ) : 256 [64] Encoder dimensions ( 16-256 ?:help ) : 64 [64] Decoder dimensions ( 16-256 ?:help ) : 64 [22] Decoder mask dimensions ( 16-256 ?:help ) : 22 [y] Masked training ( y/n ?:help ) : y [y] Learn mask ( y/n ?:help ) : y [y] Eyes priority ( y/n ?:help ) : y [y] Place models and optimizer on GPU ( y/n ?:help ) : y [n] Use learning rate dropout ( y/n ?:help ) : n [y] Enable random warp of samples ( y/n ?:help ) : y [0.0] GAN power ( 0.0 .. 10.0 ?:help ) : 0.0 [0.0] 'True face' power. ( 0.0000 .. 1.0 ?:help ) : 0.0 [none] Color transfer for src faceset ( none/rct/lct/mkl/idt/sot ?:help ) : none [n] Enable gradient clipping ( y/n ?:help ) : n [n] Enable pretraining mode ( y/n ?:help ) : n Initializing models: 100%|###############################################################| 5/5 [00:11<00:00, 2.23s/it] Loading samples: 100%|#########################################################| 22498/22498 [00:21<00:00, 1070.36it/s] Loaded 0 packed faces from E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_dst\aligned Error: No training data provided. Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\mainscripts\Trainer.py", line 55, in trainerThread debug=debug, File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\models\ModelBase.py", line 173, in init self.on_initialize() File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 549, in on_initialize generators_count=dst_generators_count ) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 46, in init raise ValueError('No training data provided.') ValueError: No training data provided. Process Process-59: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\19697_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "multiprocessing\process.py", line 258, in _bootstrap File "multiprocessing\process.py", line 93, in run File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func gen_data = next (self.generator_func) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 103, in batch_func raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) ) Exception: Exception occured in sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\19697_0.jpg. Error: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\19697_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

Process Process-61: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\07111_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "multiprocessing\process.py", line 258, in _bootstrap File "multiprocessing\process.py", line 93, in run File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func gen_data = next (self.generator_func) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 103, in batch_func raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) ) Exception: Exception occured in sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\07111_0.jpg. Error: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\07111_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

Process Process-60: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\01508_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "multiprocessing\process.py", line 258, in _bootstrap File "multiprocessing\process.py", line 93, in run File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func gen_data = next (self.generator_func) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 103, in batch_func raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) ) Exception: Exception occured in sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\01508_0.jpg. Error: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\01508_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

Process Process-62: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\18968_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "multiprocessing\process.py", line 258, in _bootstrap File "multiprocessing\process.py", line 93, in run File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func gen_data = next (self.generator_func) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 103, in batch_func raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) ) Exception: Exception occured in sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\18968_0.jpg. Error: Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 101, in batch_func x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 96, in process raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) ) Exception: sample E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA\workspace\data_src\aligned\18968_0.jpg type FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

VictorHermez avatar Jan 26 '21 06:01 VictorHermez

"i did S3FD Full Face...." [wf] Face type ( h/mf/f/wf ?:help ) : wf FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

NvrTdp avatar Jan 27 '21 11:01 NvrTdp

"i did S3FD Full Face...."

[wf] Face type ( h/mf/f/wf ?:help ) : wf

FaceType.FULL does not match model requirement FaceType.WHOLE_FACE. Consider extract necessary type of faces.

Hmmm, I see.

VictorHermez avatar Jan 27 '21 19:01 VictorHermez

Ok, heres a update.

It says no training data provided. i did WF this time. i even did data_src util faceset enhance.... once i did that i then did wholeface S3FD.

After that, mas editor, and made corrections.... then i go into trainer and i get this error. i do understand that i set my resolution high, but it says no training data provided. that has nothing to do with resolution. i am lost now. dont know what i did wrong.

Running trainer.

[new] No saved models found. Enter a name of a new model : Jax McCleary Jax McCleary

Model first run.

Choose one or several GPU idxs (separated by comma).

[CPU] : CPU [0] : GeForce RTX 2080 Ti

[0] Which GPU indexes to choose? : 0

[0] Autobackup every N hour ( 0..24 ?:help ) : 0 [n] Write preview history ( y/n ?:help ) : n [0] Target iteration : 0 [y] Flip faces randomly ( y/n ?:help ) : y [8] Batch_size ( ?:help ) : 8 [512] Resolution ( 64-512 ?:help ) : 512 [wf] Face type ( h/mf/f/wf ?:help ) : wf [df] AE architecture ( df/liae/dfhd/liaehd/liaech ?:help ) : df [256] AutoEncoder dimensions ( 32-1024 ?:help ) : 256 [64] Encoder dimensions ( 16-256 ?:help ) : 64 [64] Decoder dimensions ( 16-256 ?:help ) : 64 [22] Decoder mask dimensions ( 16-256 ?:help ) : 22 [y] Masked training ( y/n ?:help ) : y [y] Learn mask ( y/n ?:help ) : y [y] Eyes priority ( y/n ?:help ) : y [y] Place models and optimizer on GPU ( y/n ?:help ) : y [n] Use learning rate dropout ( y/n ?:help ) : n [y] Enable random warp of samples ( y/n ?:help ) : y [0.0] GAN power ( 0.0 .. 10.0 ?:help ) : 0.0 [0.0] 'True face' power. ( 0.0000 .. 1.0 ?:help ) : 0.0 [none] Color transfer for src faceset ( none/rct/lct/mkl/idt/sot ?:help ) : none [n] Enable gradient clipping ( y/n ?:help ) : n [n] Enable pretraining mode ( y/n ?:help ) : n Initializing models: 100%|###############################################################| 5/5 [00:09<00:00, 1.85s/it] Loading samples: 100%|##########################################################| 22486/22486 [00:45<00:00, 493.47it/s] Loading samples: 0it [00:00, ?it/s] Error: No training data provided. Traceback (most recent call last): File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\mainscripts\Trainer.py", line 55, in trainerThread debug=debug, File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\models\ModelBase.py", line 173, in init self.on_initialize() File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 549, in on_initialize generators_count=dst_generators_count ) File "E:\DEEP FAKE\SOFTWARE\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 46, in init raise ValueError('No training data provided.') ValueError: No training data provided.

VictorHermez avatar Jan 27 '21 22:01 VictorHermez

What this error says, is that it can't access the aligned folder in data_dst. It successfully loads 22486 from src, but fails when trying to fetch from dst. Usually means folders are renamed or not there.

NvrTdp avatar Jan 28 '21 12:01 NvrTdp

What this error says, is that it can't access the aligned folder in data_dst. It successfully loads 22486 from src, but fails when trying to fetch from dst. Usually means folders are renamed or not there.

The folder is there, and I did not touch or rename it. It has not been moved. Is there any way around this? I already reinstalled the software twice...

VictorHermez avatar Jan 28 '21 19:01 VictorHermez

I have found the solution. Or moreover the problem that was the root of it all.

From my little knowledge of the files and how it all works, I figured out that the reason it said that "no training model found" was because there was no images of the face (training model) in the folder called aligned. They were in Aligned confirmed.

Let me elaborate,

When I started the whole process, I went step by step. This is what I did, if you are curious.

Step 1: 2) extract images from video data_src

Step 2: 3) extract images from video data_dst FULL FPS

Step 3: data_stc extract whole_face S3FD

Step 4: I then opened up 4.1) data_src view aligned results to make sure they extracted properly and delete any random inaccuracies. Which I did so.

Step 5: I opened up 4.2) data_src util faceset enhance. Honestly don't know what that does, but i assumed it enhances the extractions, so I let it run. Took around 3 times longer that the src file took to extract.

Step 6: 5)data_dst extract whole_face S3FD

Step 7: 5.1)data_dst view aligned. Checked for inaccuracies and deleted the mistakes.

Step 8: 5.3) data_dst mask editor. This is where all the problems originate from my experience. I made new masks and corrected the faulty ones. Enough for it to train from. Or so I thought. By doing this it placed the images in Aligned confirmed folder. Keep that in mind for later.

Step 9: train SAEHD

Name: test Resolution: 128 Face_type: wf Models_opt_on_gpu: true Archetype: dfhd Ae_dims: 256 E_dims: 64 D_dims: 64 D_mask_dims: 22 Masked_training: true Learn_mask: true Eyes_priority: true Lr_dropout: false Random_warp: true Gain_power: 0.0 True_face_power: 0.0 Face_style_power: 0.0 Bg_style_power: 0.0 Ct_mode: none Clipgraddient: false Pretrain: false Autobackup_hour: 0 Write_preview_history: false Target_iter: 500,000 Rabdom_flip: true Batch_size: 8 Running on RTX 2080 TI VRAM: 11gb

Specs and settings aside, the fact that the images were in aligned confined was the reason that there was no training model available. The images were supposed to stay in aligned folder.

Also if anyone is willing to explain the different architecture, I would be great full.

VictorHermez avatar Jan 29 '21 06:01 VictorHermez

i think it is important to note that i am on build version 03_07_2020

Below is a preview of my main folder layout. along with the respective dst folder and how it looks.

DeepFakeLab

DeepFakeLab 2

DeepFakeLab 3

VictorHermez avatar Jan 29 '21 06:01 VictorHermez

Yeah that would be enough to get the error. If it's not in the correct path data_dst/aligned it cant access it. Why are you on that old and very outdated build? Get yourself the last(04.01) and fire up a df-ud 320 wf model. Optimization for nvidia cards have traveled light years since then. Description of the different architectures you'll find in the guides on mrdeepfakes.com. Together with pre-trained models and everything else needed.

NvrTdp avatar Feb 01 '21 21:02 NvrTdp

I got the following error while training the model, I'm new to this, please comment below for any suggestions.

Running trainer.

[new] No saved models found. Enter a name of a new model : new

Model first run.

Choose one or several GPU idxs (separated by comma).

[CPU] : CPU [0] : GeForce GTX 1650

[0] Which GPU indexes to choose? : 0

[0] Autobackup every N hour ( 0..24 ?:help ) : 0 [n] Write preview history ( y/n ?:help ) : n [0] Target iteration : 0 [y] Flip faces randomly ( y/n ?:help ) : y [8] Batch_size ( ?:help ) : 8 [128] Resolution ( 64-640 ?:help ) : 128 [f] Face type ( h/mf/f/wf/head ?:help ) : wf wf [liae-ud] AE architecture ( ?:help ) : liae-ud [256] AutoEncoder dimensions ( 32-1024 ?:help ) : 256 [64] Encoder dimensions ( 16-256 ?:help ) : 64 [64] Decoder dimensions ( 16-256 ?:help ) : 64 [22] Decoder mask dimensions ( 16-256 ?:help ) : 22 [y] Masked training ( y/n ?:help ) : y [n] Eyes and mouth priority ( y/n ?:help ) : y [n] Uniform yaw distribution of samples ( y/n ?:help ) : n [y] Place models and optimizer on GPU ( y/n ?:help ) : y [y] Use AdaBelief optimizer? ( y/n ?:help ) : y [n] Use learning rate dropout ( n/y/cpu ?:help ) : n [y] Enable random warp of samples ( y/n ?:help ) : y [0.0] GAN power ( 0.0 .. 1.0 ?:help ) : 0.0 [0.0] Face style power ( 0.0..100.0 ?:help ) : 0.0 [0.0] Background style power ( 0.0..100.0 ?:help ) : 0.0 [none] Color transfer for src faceset ( none/rct/lct/mkl/idt/sot ?:help ) : none [n] Enable gradient clipping ( y/n ?:help ) : n [n] Enable pretraining mode ( y/n ?:help ) : n Initializing models: 60%|#####################################8 | 3/5 [00:21<00:14, 7.35s/it]Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in Traceback (most recent call last): from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in _pywrap_tensorflow_internal = swig_import_helper() from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper

  File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier\_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>

_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) _pywrap_tensorflow_internal = swig_import_helper()

File "imp.py", line 243, in load_module File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper File "imp.py", line 343, in load_dynamic _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)ImportError : File "imp.py", line 243, in load_module DLL load failed: The paging file is too small for this operation to complete. File "imp.py", line 343, in load_dynamic

During handling of the above exception, another exception occurred:

ImportErrorTraceback (most recent call last): : File "", line 1, in DLL load failed: The paging file is too small for this operation to complete.

During handling of the above exception, another exception occurred:

File "multiprocessing\spawn.py", line 105, in spawn_main Traceback (most recent call last): File "multiprocessing\spawn.py", line 115, in main File "", line 1, in File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in File "multiprocessing\spawn.py", line 105, in spawn_main from tensorflow.python.ops import init_ops File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init.py", line 24, in File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init_.py", line 2, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-importfrom tensorflow.python.ops import init_ops

File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 49, in File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import pywrap_tensorflowfrom tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 49, in raise ImportError(msg)from tensorflow.python import pywrap_tensorflow

ImportError File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in : raise ImportError(msg)Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

ImportError: Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "imp.py", line 243, in load_module File "imp.py", line 343, in load_dynamic ImportError: DLL load failed: The paging file is too small for this operation to complete.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python_init_.py", line 93, in from tensorflow.python.ops.linalg import linalg File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\linalg\linalg.py", line 23, in from tensorflow.python.ops.linalg import cholesky_registrations as _cholesky_registrations File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\linalg\cholesky_registrations.py", line 27, in from tensorflow.python.ops.linalg import linear_operator_identity File "", line 971, in find_and_load File "", line 955, in find_and_load_unlocked File "", line 665, in load_unlocked File "", line 674, in exec_module File "", line 771, in get_code File "", line 482, in validate_bytecode_header MemoryError Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init.py", line 29, in from tensorflow.api.v1 import compat File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_api\v1\compat_init.py", line 21, in from tensorflow.api.v1.compat import v1 File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_api\v1\compat\v1_init.py", line 626, in child_package_str=('tensorflow_estimator.python.estimator.api.estimator')) File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\tools\component_api_helper.py", line 56, in package_hook child_pkg = importlib.import_module(child_package_str) File "importlib_init.py", line 126, in import_module File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_init.py", line 8, in from tensorflow_estimator.api.v1 import estimator File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_api\v1\estimator_init.py", line 8, in from tensorflow_estimator.api.v1.estimator import experimental File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_api\v1\estimator\experimental_init.py", line 8, in from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator\python\estimator_init.py", line 25, in import tensorflow_estimator.python.estimator.estimator_lib File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator\python\estimator\estimator_lib.py", line 27, in from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder File "", line 971, in find_and_load File "", line 955, in find_and_load_unlocked File "", line 665, in load_unlocked File "", line 674, in exec_module File "", line 771, in get_code File "", line 482, in validate_bytecode_header MemoryError Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 105, in spawn_main File "multiprocessing\spawn.py", line 115, in main File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\DeepFaceLab\core\leras\initializers_init.py", line 2, in from tensorflow.python.ops import init_ops File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_init.py", line 29, in from tensorflow.api.v1 import compat File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_api\v1\compat_init.py", line 21, in from tensorflow.api.v1.compat import v1 File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_api\v1\compat\v1_init.py", line 626, in child_package_str=('tensorflow_estimator.python.estimator.api.estimator')) File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow\python\tools\component_api_helper.py", line 56, in package_hook child_pkg = importlib.import_module(child_package_str) File "importlib_init.py", line 126, in import_module File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_init.py", line 8, in from tensorflow_estimator.api.v1 import estimator File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_api\v1\estimator_init.py", line 8, in from tensorflow_estimator.api.v1.estimator import experimental File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator_api\v1\estimator\experimental_init.py", line 8, in from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator\python\estimator_init.py", line 25, in import tensorflow_estimator.python.estimator.estimator_lib File "C:\Mazhar\Misc\DFL\DeepFaceLab\DeepFaceLab_NVIDIA_RTX2080Ti_and_earlier_internal\python-3.6.8\lib\site-packages\tensorflow_estimator\python\estimator\estimator_lib.py", line 59, in from tensorflow_estimator.python.estimator.training import EvalSpec File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 771, in get_code File "", line 482, in _validate_bytecode_header MemoryError

Syed-Maz avatar Feb 16 '21 15:02 Syed-Maz

A few things I noticed while going through your error message.

For your actual problem, you are running out of VRAM. (Memory) you can see the message yourself at the very bottom of the error code. To meditate this, you need to reduce your resolution from default of 128, down to something smaller. Try 64.

Another thing I saw while looking through your settings is that you have 0 set for iterations. Set that to something like 150,000. I'm not sure if 0 means infinite until you stop it manually. But in my case I could not stop it when pressing enter so I set a limit of 500k for myself.

Another thing is if you don't do wf (whole face) not while head at extraction, then you'll also get a error. It'll say no training data.

Anyways. For now, try to do the things I mentioned above and let me know how it goes.

VictorHermez avatar Feb 16 '21 19:02 VictorHermez

I also have error messages training with SAEHD, please I need help. Below is the error message I received

debug=debug) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\DeepFaceLab\models\ModelBase.py", line 193, in init self.on_initialize() File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 341, in on_initialize self.src_dst_opt.initialize_variables (self.src_dst_saveable_weights, vars_on_cpu=optimizer_vars_on_cpu, lr_dropout_on_cpu=self.options['lr_dropout']=='cpu') File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\DeepFaceLab\core\leras\optimizers\AdaBelief.py", line 38, in initialize_variables vs = { v.name : tf.get_variable ( f'vs_{v.name}'.replace(':',''), v.shape, dtype=v.dtype, initializer=tf.initializers.constant(0.0), trainable=False) for v in trainable_weights } File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\DeepFaceLab\core\leras\optimizers\AdaBelief.py", line 38, in vs = { v.name : tf.get_variable ( f'vs{v.name}'.replace(':','_'), v.shape, dtype=v.dtype, initializer=tf.initializers.constant(0.0), trainable=False) for v in trainable_weights } File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1595, in get_variable aggregation=aggregation) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1338, in get_variable aggregation=aggregation) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 593, in get_variable aggregation=aggregation) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 545, in _true_getter aggregation=aggregation) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 963, in _get_single_variable aggregation=aggregation) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 266, in call return cls._variable_v1_call(*args, **kwargs) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 227, in _variable_v1_call shape=shape) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 205, in previous_getter = lambda **kwargs: default_variable_creator(None, **kwargs) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 2642, in default_variable_creator shape=shape) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 270, in call return super(VariableMetaclass, cls).call(*args, **kwargs) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 1670, in init shape=shape) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\variables.py", line 1853, in _init_from_args validate_shape=validate_shape).op File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\state_ops.py", line 358, in assign validate_shape=validate_shape) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\gen_state_ops.py", line 59, in assign use_locking=use_locking, name=name) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 750, in _apply_op_helper attrs=attr_protos, op_def=op_def) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 3569, in _create_op_internal op_def=op_def) File "C:\Users\Jotham\Desktop\DeepFaceLab_NVIDIA_RTX3000_series_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 2045, in init self._traceback = tf_stack.extract_stack_for_node(self._c_op)

Jotham-Micah avatar Mar 21 '23 18:03 Jotham-Micah

Did you ever find the answer?

joolstorrentecalo avatar Jun 08 '23 22:06 joolstorrentecalo

Recently encountered this type of problem does any know what to do ? 4

Error: invalid load key, '\x00'. Traceback (most recent call last): File "E:\DF Main\DeepFaceLab_NVIDIA_up_to_RTX2080Ti_internal\DeepFaceLab\mainscripts\Trainer.py", line 58, in trainerThread debug=debug) File "E:\DF Main\DeepFaceLab_NVIDIA_up_to_RTX2080Ti_internal\DeepFaceLab\models\ModelBase.py", line 193, in init self.on_initialize() File "E:\DF Main\DeepFaceLab_NVIDIA_up_to_RTX2080Ti_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 654, in on_initialize do_init = not model.load_weights( self.get_strpath_storage_for_file(filename) ) File "E:\DF Main\DeepFaceLab_NVIDIA_up_to_RTX2080Ti_internal\DeepFaceLab\core\leras\layers\Saveable.py", line 72, in load_weights d = pickle.loads(d_dumped) _pickle.UnpicklingError: invalid load key, '\x00'

MEmio9-11 avatar Sep 19 '23 09:09 MEmio9-11