|
楼主 |
发表于 2021-12-8 11:07:58
|
显示全部楼层
During handling of the above exception, another exception occurred:
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 1048576 bytes in function 'cv::OutOfMemoryError'
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
File "multiprocessing\process.py", line 258, in _bootstrap
Traceback (most recent call last):
File "multiprocessing\process.py", line 93, in run
File "multiprocessing\process.py", line 258, in _bootstrap
File "D:\AIliandan\0906-RTX30\_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 "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
Exception: 示例 D:\AIliandan\0906-RTX30\workspace\data_src\aligned\00291.jpg 中出现异常。 错误:Traceback (most recent call last):
File "D:\AIliandan\0906-RTX30\_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 "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 149, in process
img = get_eyes_mouth_mask()*mask
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 77, in get_eyes_mouth_mask
mouth_mask = LandmarksProcessor.get_image_mouth_mask (sample_bgr.shape, sample_landmarks)
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 449, 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 1048576 bytes in function 'cv::OutOfMemoryError'
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
Exception: 示例 D:\AIliandan\0906-RTX30\workspace\data_src\aligned\00521.jpg 中出现异常。 错误:Traceback (most recent call last):
File "D:\AIliandan\0906-RTX30\_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 "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 149, in process
img = get_eyes_mouth_mask()*mask
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 76, in get_eyes_mouth_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "D:\AIliandan\0906-RTX30\_internal\DeepFaceLab\facelib\LandmarksProcessor.py", line 427, in get_image_eye_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 1048576 bytes in function 'cv::OutOfMemoryError'
问题多种多样极度影响炼丹 |
|