|
发表于 2024-10-31 20:15:14
|
显示全部楼层
大佬,我这边装载完模型和src的后装载dst就开始报错,请解决方法
Traceback (most recent call last):
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 142, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 160, in process
eye_mask = get_eyes_mask() * mask
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 77, in get_eyes_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "/root/autodl-tmp/DFL/DeepFaceLab/facelib/LandmarksProcessor.py", line 425, in get_image_eye_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/envs/deepfacelab/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/root/anaconda3/envs/deepfacelab/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/root/autodl-tmp/DFL/DeepFaceLab/core/joblib/SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 144, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
Exception: 示例 04114.jpg 中出现异常。 错误:Traceback (most recent call last):
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 142, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 160, in process
eye_mask = get_eyes_mask() * mask
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 77, in get_eyes_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "/root/autodl-tmp/DFL/DeepFaceLab/facelib/LandmarksProcessor.py", line 425, in get_image_eye_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
KeyboardInterrupt
Process Process-36:
Traceback (most recent call last):
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 142, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 160, in process
eye_mask = get_eyes_mask() * mask
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 77, in get_eyes_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "/root/autodl-tmp/DFL/DeepFaceLab/facelib/LandmarksProcessor.py", line 425, in get_image_eye_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/envs/deepfacelab/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/root/anaconda3/envs/deepfacelab/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/root/autodl-tmp/DFL/DeepFaceLab/core/joblib/SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 144, in batch_func
raise Exception ("示例 %s 中出现异常。 错误:%s" % (sample.filename, traceback.format_exc() ) )
Exception: 示例 04239.jpg 中出现异常。 错误:Traceback (most recent call last):
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleGeneratorFace.py", line 142, in batch_func
x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 160, in process
eye_mask = get_eyes_mask() * mask
File "/root/autodl-tmp/DFL/DeepFaceLab/samplelib/SampleProcessor.py", line 77, in get_eyes_mask
eyes_mask = LandmarksProcessor.get_image_eye_mask (sample_bgr.shape, sample_landmarks)
File "/root/autodl-tmp/DFL/DeepFaceLab/facelib/LandmarksProcessor.py", line 425, in get_image_eye_mask
hull_mask = cv2.dilate(hull_mask, cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(dilate,dilate)), iterations = 1 )
KeyboardInterrupt |
|