deepfacelab中文网

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

遇到报错,求助大佬帮忙看看啥问题

[复制链接]

1

主题

24

帖子

204

积分

初级丹师

Rank: 3Rank: 3

积分
204

万事如意节日勋章

 楼主| 发表于 2025-2-16 02:10:05 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
本帖最后由 godlike356 于 2025-2-16 02:10 编辑

Error: Graph execution error:


Detected at node 'Pad_13' defined at (most recent call last):
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 885, in _bootstrap
      self._bootstrap_inner()
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 917, in _bootstrap_inner
      self.run()
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 865, in run
      self._target(*self._args, **self._kwargs)
    File "<frozen mainscripts.Trainer>", line 58, in trainerThread
    File "<frozen models.ModelBase>", line 207, in __init__
    File "<frozen models.Model_SAEHD.Model>", line 423, in on_initialize
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 114, in forward
      x = self.down3(x)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 43, in forward
      x = self.conv1(x)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\layers\LayerBase.py", line 14, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\layers\Conv2D.py", line 87, in forward
      x = tf.pad (x, padding, mode='CONSTANT')
Node: 'Pad_13'
Detected at node 'Pad_13' defined at (most recent call last):
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 885, in _bootstrap
      self._bootstrap_inner()
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 917, in _bootstrap_inner
      self.run()
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\python-3.6.8\lib\threading.py", line 865, in run
      self._target(*self._args, **self._kwargs)
    File "<frozen mainscripts.Trainer>", line 58, in trainerThread
    File "<frozen models.ModelBase>", line 207, in __init__
    File "<frozen models.Model_SAEHD.Model>", line 423, in on_initialize
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 114, in forward
      x = self.down3(x)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 43, in forward
      x = self.conv1(x)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\layers\LayerBase.py", line 14, in __call__
      return self.forward(*args, **kwargs)
    File "D:\yonghu\Desktop\DFL\DeepFaceLab  mzhh\_internal\DeepFaceLab\core\leras\layers\Conv2D.py", line 87, in forward
      x = tf.pad (x, padding, mode='CONSTANT')
Node: 'Pad_13'
2 root error(s) found.
  (0) RESOURCE_EXHAUSTED: OOM when allocating tensor with shape[4,76,76,160] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[{{node Pad_13}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.


         [[concat_7/concat/_943]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.


  (1) RESOURCE_EXHAUSTED: OOM when allocating tensor with shape[4,76,76,160] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[{{node Pad_13}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.


0 successful operations.
0 derived errors ignored.

回复

使用道具 举报

9

主题

921

帖子

6510

积分

高级丹圣

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

积分
6510

万事如意节日勋章开心娱乐节日勋章

发表于 2025-2-16 10:55:27 | 显示全部楼层
https://dfldata.cc/search.php?mo ... bmit=yes&kw=oom
还有就是软件路径尽量不要用中文和空格
回复 支持 反对

使用道具 举报

10

主题

193

帖子

2726

积分

初级丹圣

Rank: 8Rank: 8

积分
2726

万事如意节日勋章

发表于 2025-2-16 12:13:55 | 显示全部楼层
爆显存了
回复

使用道具 举报

9

主题

247

帖子

4534

积分

高级丹圣

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

积分
4534
QQ
发表于 2025-2-16 12:14:32 | 显示全部楼层
现在咱有DeepSeek了,不需要翻墙用ChatGPT了,所以遇到问题可以直接贴给DeepSeek,它的回答可以说又快又好
回复 支持 反对

使用道具 举报

1

主题

24

帖子

204

积分

初级丹师

Rank: 3Rank: 3

积分
204

万事如意节日勋章

 楼主| 发表于 2025-2-16 23:30:25 | 显示全部楼层
lknet 发表于 2025-2-16 10:55
https://dfldata.cc/search.php?mod=forum&searchid=51&orderby=lastpost&ascdesc=desc&searchsubmit=yes&k ...

谢谢谢谢大佬帮助,换个丹用上了
回复 支持 反对

使用道具 举报

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

GMT+8, 2025-7-4 22:33 , Processed in 0.103922 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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