|
星级打分
平均分:NAN 参与人数:0 我的评分:未评
本人这周开始通过ikenlon大神的视频学习DFL,运行训练模型完全按照视频的默认设置,dst和src也按照视频配置,自我检查没有发现什么问题,然后运行训练模型的时候出现内存不足报错,
报错代码如下:
‘‘cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 786432 bytes in function 'cv::OutOfMemoryError'
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 "D:\Program Files\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
gen_data = next (self.generator_func)
File "D:\Program Files\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 136, in batch_func
raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample 00067_0.jpg. Error: Traceback (most recent call last):
File "D:\Program Files\DeepFaceLab_NVIDIA_RTX3000_series\_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:\Program Files\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 193, in process
img = imagelib.color_transfer (ct_mode, img, cv2.resize( ct_sample_bgr, (resolution,resolution), interpolation=cv2.INTER_LINEAR ) )
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 786432 bytes in function 'cv::OutOfMemoryError'’’请问大神们需要如何修改配置,本人电脑13700KF+3090ti+32g内存,应该满足训练的配置,求大神解救!
|
|