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.

DeepFaceLabCUDA10.1AVX Training Error SAE Model

I was training today on Shadow PC with a Quadro P5000 (virtual) with the latest 5/20 build when I run into this error and don't know what it means or how to fix it.  I tried going back to the 5/10 build but receive the same error.  I haven't changed anything so I don't know why this came up.  If anyone could help me with this I would appreciate it.

Thanks

Windows 10
Quadro P5000
Intel Xeon E5-2678 v3 - 2.50 ghz

____________________________________________________________________________
Starting. Press "Enter" to stop training and save model.
[11:10:19][#000001][16.48s][6.8272][5.3939]
Process Process-3:][2899ms][6.3507][4.3452]
Traceback (most recent call last):
  File "C:\Users\xxxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    ct_sample=ct_samples[np.random.randint(ct_samples_len)] if ct_samples is not None else None )
  File "C:\Users\xxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 87, in process
    sample_bgr = sample.load_bgr()
  File "C:\Users\xxxx\documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\Sample.py", line 53, in load_bgr
    img = cv2_imread (self.filename).astype(np.float32) / 255.0
AttributeError: 'NoneType' object has no attribute 'astype'

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 "C:\Users\xxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\utils\iter_utils.py", line 39, in process_func
    gen_data = next (self.generator_func)
  File "C:\Users\xxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 119, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\Users\xxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\workspace\data_src\aligned\00065_0_0.jpg. Error: Traceback (most recent call last):
  File "C:\Users\xxxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    ct_sample=ct_samples[np.random.randint(ct_samples_len)] if ct_samples is not None else None )
  File "C:\Users\xxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 87, in process
    sample_bgr = sample.load_bgr()
  File "C:\Users\xxxxxx\Documents\MEGAsync Downloads\DeepFaceLabCUDA10.1AVX\_internal\DeepFaceLab\samplelib\Sample.py", line 53, in load_bgr
    img = cv2_imread (self.filename).astype(np.float32) / 255.0
AttributeError: 'NoneType' object has no attribute 'astype'
 

dpfks

DF Enthusiast
Staff member
Administrator
Verified Video Creator
Have you tried the CUDA 9.2 version?
 
dpfks said:
Have you tried the CUDA 9.2 version?

Do you think that is a better version or are they the same? I had 10K iterations trained before that error came up so it does work  on my system.  I just found the problem which was a corrupted SRC image. I deleted it and it's now working again.
 
Top