Initializing models: 100%|############################################################################################################################################################| 7/7 [00:15<00:00, 2.24s/it]
从 Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\workspace\data_src\aligned 加载了 45607 个打包的面孔
加载样本中...: 100%|##############################################################################################################################################################| 179/179 [00:01<00:00, 90.72it/s]
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 10625772 bytes in function 'cv::OutOfMemoryError'
Process Process-42:
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 3898800 bytes in function 'cv::OutOfMemoryError'
Process Process-52:
Process Process-29:
Traceback (most recent call last):
Traceback (most recent call last):
Process Process-38:
Traceback (most recent call last):
Process Process-17:
Process Process-25:
Process Process-33:
Process Process-16:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 3145728 bytes in function 'cv::OutOfMemoryError'
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 145, in process
img = get_eyes_mouth_mask()*mask
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 78, in get_eyes_mouth_mask
mouth_mask = LandmarksProcessor.get_image_mouth_mask (sample_bgr.shape, sample_landmarks)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 145, in process
img = get_eyes_mouth_mask()*mask
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 145, in process
img = get_eyes_mouth_mask()*mask
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 447, in get_image_mouth_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 80, in get_eyes_mouth_mask
return np.clip(mask, 0, 1)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4194304 bytes in function 'cv::OutOfMemoryError'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 192, in process
ct_sample_bgr = ct_sample.load_bgr()
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 3871488 bytes in function 'cv::OutOfMemoryError'
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
AttributeError: 'NoneType' object has no attribute 'astype'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 78, in get_eyes_mouth_mask
mouth_mask = LandmarksProcessor.get_image_mouth_mask (sample_bgr.shape, sample_landmarks)
Process Process-19:
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
Process Process-27:
Process Process-40:
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4938267 bytes in function 'cv::OutOfMemoryError'
Process Process-45:
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 6509187 bytes in function 'cv::OutOfMemoryError'
File "<__array_function__ internals>", line 6, in clip
Process Process-12:
During handling of the above exception, another exception occurred:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 139, in process
img = get_full_face_mask()
Traceback (most recent call last):
Process Process-26:
Exception in thread Thread-61:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
Process Process-31:
Process Process-41:
/!\ Exception occured in cv2_imread : Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\cv2ex.py", line 19, in cv2_imread
return cv2.imdecode(numpyarray, flags)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 5838075 bytes in function 'cv::OutOfMemoryError'
During handling of the above exception, another exception occurred:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
Process Process-44:
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 447, in get_image_mouth_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
Traceback (most recent call last):
Process Process-58:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Process Process-48:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 2097, in clip
return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs)
Process Process-61:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 65, in get_full_face_mask
xseg_mask = cv2.resize(xseg_mask, (w,h), interpolation=cv2.INTER_CUBIC)
Exception in thread Thread-50:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-63:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
AttributeError: 'NoneType' object has no attribute 'astype'
Traceback (most recent call last):
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Traceback (most recent call last):
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4194304 bytes in function 'cv::OutOfMemoryError'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "multiprocessing\process.py", line 258, in _bootstrap
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 58, in _wrapfunc
return bound(*args, **kwds)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4194304 bytes in function 'cv::OutOfMemoryError'
Process Process-62:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Exception in thread Thread-49:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-48:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-65:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 192, in process
ct_sample_bgr = ct_sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "multiprocessing\process.py", line 258, in _bootstrap
File "multiprocessing\process.py", line 93, in run
File "multiprocessing\process.py", line 258, in _bootstrap
File "multiprocessing\process.py", line 258, in _bootstrap
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Process Process-59:
During handling of the above exception, another exception occurred:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "multiprocessing\process.py", line 93, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 143, in process
mask = get_full_face_mask().copy()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py", line 141, in _clip
um.clip, a, min, max, out=out, casting=casting, **kwargs)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Exception in thread Thread-54:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 11, in launch_thread
generator._start()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 43, in _start
p.start()
File "multiprocessing\process.py", line 105, in start
File "multiprocessing\context.py", line 223, in _Popen
File "multiprocessing\context.py", line 322, in _Popen
File "multiprocessing\popen_spawn_win32.py", line 65, in __init__
File "multiprocessing\reduction.py", line 60, in dump
BrokenPipeError: [Errno 32] Broken pipe
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 192, in process
ct_sample_bgr = ct_sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 143, in process
mask = get_full_face_mask().copy()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 192, in process
ct_sample_bgr = ct_sample.load_bgr()
During handling of the above exception, another exception occurred:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "multiprocessing\process.py", line 93, in run
File "multiprocessing\process.py", line 93, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 139, in process
img = get_full_face_mask()
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 65, in get_full_face_mask
xseg_mask = cv2.resize(xseg_mask, (w,h), interpolation=cv2.INTER_CUBIC)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py", line 94, in _clip_dep_invoke_with_casting
return ufunc(*args, out=out, **kwargs)
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 145, in process
img = get_eyes_mouth_mask()*mask
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 143, in process
mask = get_full_face_mask().copy()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 69, in get_full_face_mask
full_face_mask = LandmarksProcessor.get_image_hull_mask (sample_bgr.shape, sample_landmarks, eyebrows_expand_mod=sample.eyebrows_expand_mod )
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 67, in get_full_face_mask
return np.clip(xseg_mask, 0, 1)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
MemoryError: Unable to allocate 21.9 MiB for an array with shape (1383, 1383, 3) and data type float32
Traceback (most recent call last):
File "multiprocessing\process.py", line 258, in _bootstrap
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
AttributeError: 'NoneType' object has no attribute 'astype'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
MemoryError: Unable to allocate 4.00 MiB for an array with shape (1024, 1024, 1) and data type float32
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4194304 bytes in function 'cv::OutOfMemoryError'
File "multiprocessing\process.py", line 258, in _bootstrap
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 77, in get_eyes_mouth_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 69, in get_full_face_mask
full_face_mask = LandmarksProcessor.get_image_hull_mask (sample_bgr.shape, sample_landmarks, eyebrows_expand_mod=sample.eyebrows_expand_mod )
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
MemoryError: Unable to allocate 14.2 MiB for an array with shape (1113, 1113, 3) and data type float32
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 391, in get_image_hull_mask
hull_mask = np.zeros(image_shape[0:2]+(1,),dtype=np.float32)
AttributeError: 'NoneType' object has no attribute 'astype'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
File "<__array_function__ internals>", line 6, in clip
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
During handling of the above exception, another exception occurred:
Exception: 示例 22617.jpg 中出现异常。 错误:Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
During handling of the above exception, another exception occurred:
File "multiprocessing\process.py", line 93, in run
File "multiprocessing\process.py", line 258, in _bootstrap
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
Exception: 示例 24285.jpg 中出现异常。 错误:Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 145, in process
img = get_eyes_mouth_mask()*mask
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 78, in get_eyes_mouth_mask
mouth_mask = LandmarksProcessor.get_image_mouth_mask (sample_bgr.shape, sample_landmarks)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 447, in get_image_mouth_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 4194304 bytes in function 'cv::OutOfMemoryError'
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 417, in get_image_eye_mask
hull_mask = np.zeros( (h,w,1),dtype=np.float32)
File "multiprocessing\process.py", line 93, in run
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 391, in get_image_hull_mask
hull_mask = np.zeros(image_shape[0:2]+(1,),dtype=np.float32)
AttributeError: 'NoneType' object has no attribute 'astype'
During handling of the above exception, another exception occurred:
MemoryError: Unable to allocate 1.57 MiB for an array with shape (641, 641, 1) and data type float32
During handling of the above exception, another exception occurred:
Exception: 示例 27121.jpg 中出现异常。 错误:Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
MemoryError: Unable to allocate 12.0 MiB for an array with shape (1024, 1024, 3) and data type float32
Exception: 示例 Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\workspace\data_dst\aligned\154_0.jpg 中出现异常。 错误:Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 134, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 56, in process
sample_bgr = sample.load_bgr()
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
AttributeError: 'NoneType' object has no attribute 'astype'
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 2097, in clip
return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs)
Traceback (most recent call last):
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "multiprocessing\process.py", line 93, in run
Traceback (most recent call last):
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\samplelib\Sample.py", line 112, in load_bgr
img = cv2_imread (self.filename, loader_func=self.read_raw_file).astype(np.float32) / 255.0
Traceback (most recent call last):
Traceback (most recent call last):
MemoryError: Unable to allocate 15.5 MiB for an array with shape (2017, 2017, 1) and data type float32
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
Traceback (most recent call last):
AttributeError: 'NoneType' object has no attribute 'astype'
MemoryError: Unable to allocate 4.91 MiB for an array with shape (1135, 1135, 1) and data type float32
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Z:\AI\DeepFaceLab\DFL_maozhihanhua_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 58, in _wrapfunc
return bound(*args, **kwds)
File "multiprocessing\process.py", line 258, in _bootstrap
File "multiproc
还有个问题大佬,为什么有时候训练一阵就不动了,然后再退出选择模型就报cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 3145728 bytes in function 'cv::OutOfMemoryError'这个错,也是内存错误,但是我显示的内存占用连一半都没有,有什么办法清空这个内存缓存吗