deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 1246|回复: 10

新人求助,如何修改购买的丹的参数

[复制链接]

2

主题

17

帖子

655

积分

高级丹师

Rank: 5Rank: 5

积分
655
 楼主| 发表于 2023-11-29 10:39:14 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
购买了本论坛的https://dfldata.cc/forum.php?mod=viewthread&tid=16184这个帖子,但是想自己训练的时候加载模型一直报错,应该是内存溢出,但是我是2080ti 22g魔改版,实际内存128g,虚拟内存320g,而且加载别的买来的模型是可以训练的,请问这种情况怎么解决?bs设置到2,ad优化器关掉也不行,报错如下



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
回复

使用道具 举报

14

主题

2945

帖子

1万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
15953

真我风采勋章万事如意节日勋章

发表于 2023-11-29 15:48:50 | 显示全部楼层
本帖最后由 wtxx8888 于 2023-11-29 16:02 编辑

虚拟内存不够还需要增加,直到满足要求,报错全是无法分配内存,意味着你分配的320G虚拟内存,是不够的。

如果硬盘已满换个盘吧,弄500G再试试,你机器挺恐怖的

丹的模型,脸型,四维等,都是无法更改的参数,所以你要用就必须增加虚拟内存的大小
回复 支持 反对

使用道具 举报

2

主题

17

帖子

655

积分

高级丹师

Rank: 5Rank: 5

积分
655
 楼主| 发表于 2023-11-29 16:16:13 | 显示全部楼层
wtxx8888 发表于 2023-11-29 15:48
虚拟内存不够还需要增加,直到满足要求,报错全是无法分配内存,意味着你分配的320G虚拟内存,是不够的。

...

还有个问题大佬,为什么有时候训练一阵就不动了,然后再退出选择模型就报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'这个错,也是内存错误,但是我显示的内存占用连一半都没有,有什么办法清空这个内存缓存吗
回复 支持 反对

使用道具 举报

14

主题

2945

帖子

1万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
15953

真我风采勋章万事如意节日勋章

发表于 2023-11-29 17:05:57 | 显示全部楼层
本帖最后由 wtxx8888 于 2023-11-29 17:39 编辑
pkr777 发表于 2023-11-29 16:16
还有个问题大佬,为什么有时候训练一阵就不动了,然后再退出选择模型就报cv2.error: OpenCV(4.1.0) C:\pr ...

虚拟内存不是物理内存,你物理内存120G也必须虚拟内存(WIN系统虚拟内存是个文件,俗称页面文件,虚拟内存要的是硬盘空间存储这个文件)
你看的百分比不过是物理内存的用量而已。虚拟内存跟物理内存,这是两个东西。

哪怕是不用DFL,就日常用系统的虚拟内存用量,最大值一般都得设成,物理内存量的两倍。
想明白虚拟内存的原理,请自行百度WINDOWS系统的基础资料学习。


看下图,无论你红色的物理内存满不满,当紫色的虚拟内存不足,就无法运行软件,严重的会直接蓝屏死机
2023-11-29_170958.png




评分

参与人数 1贡献 +1 收起 理由
pkr777 + 1 十分给力!

查看全部评分

回复 支持 反对

使用道具 举报

33

主题

708

帖子

7869

积分

高级丹圣

【少女之友】

Rank: 13Rank: 13Rank: 13Rank: 13

积分
7869

开心娱乐节日勋章

发表于 2023-11-29 21:23:27 | 显示全部楼层
之前也有个和你类似的问题https://dfldata.cc/forum.php?mod ... p;extra=&page=1

评分

参与人数 1贡献 +1 收起 理由
pkr777 + 1 十分给力!

查看全部评分

回复 支持 反对

使用道具 举报

2

主题

17

帖子

655

积分

高级丹师

Rank: 5Rank: 5

积分
655
 楼主| 发表于 2023-11-30 10:11:27 | 显示全部楼层
jinyuan37 发表于 2023-11-29 21:23
之前也有个和你类似的问题https://dfldata.cc/forum.php?mod=viewthread&tid=16678&extra=&page=1 ...

确实就是虚拟内存的问题,我加到了600g,现在跑了一宿正常,谢谢大佬
回复 支持 反对

使用道具 举报

2

主题

17

帖子

655

积分

高级丹师

Rank: 5Rank: 5

积分
655
 楼主| 发表于 2023-11-30 10:12:38 | 显示全部楼层
wtxx8888 发表于 2023-11-29 17:05
虚拟内存不是物理内存,你物理内存120G也必须虚拟内存(WIN系统虚拟内存是个文件,俗称页面文件,虚拟内存 ...

确实就是虚拟内存的问题,我加到了600g,现在跑了一宿正常,谢谢大佬
回复 支持 反对

使用道具 举报

33

主题

708

帖子

7869

积分

高级丹圣

【少女之友】

Rank: 13Rank: 13Rank: 13Rank: 13

积分
7869

开心娱乐节日勋章

发表于 2023-11-30 12:43:46 | 显示全部楼层
pkr777 发表于 2023-11-30 10:12
确实就是虚拟内存的问题,我加到了600g,现在跑了一宿正常,谢谢大佬

魔改的显卡比较特别,正常是不需要这么多的。
回复 支持 反对

使用道具 举报

14

主题

2945

帖子

1万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
15953

真我风采勋章万事如意节日勋章

发表于 2023-11-30 15:19:55 | 显示全部楼层
pkr777 发表于 2023-11-30 10:12
确实就是虚拟内存的问题,我加到了600g,现在跑了一宿正常,谢谢大佬

600G也太恐怖了,哈哈
回复 支持 反对

使用道具 举报

2

主题

17

帖子

655

积分

高级丹师

Rank: 5Rank: 5

积分
655
 楼主| 发表于 2023-11-30 16:32:11 | 显示全部楼层
jinyuan37 发表于 2023-11-30 12:43
魔改的显卡比较特别,正常是不需要这么多的。

看了你说的那个帖子感觉是跟cpu有关,我是dellr720,双u,48线程,感觉是根据这个来调用内存的
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-11-23 16:40 , Processed in 0.135669 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表