deepfacelab中文网

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

一开始训练就弹这个

[复制链接]

12

主题

86

帖子

553

积分

高级丹师

Rank: 5Rank: 5

积分
553
发表于 2021-8-5 15:53:52 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
=================== Model Summary ====================
==                                                   ==
==            Model name: 1_SAEHD                    ==
==                                                   ==
==     Current iteration: 552991                     ==
==                                                   ==
==------------------ Model Options ------------------==
==                                                   ==
==            resolution: 256                        ==
==             face_type: wf                         ==
==     models_opt_on_gpu: True                       ==
==                 archi: df-ud                      ==
==               ae_dims: 292                        ==
==                e_dims: 92                         ==
==                d_dims: 92                         ==
==           d_mask_dims: 16                         ==
==       masked_training: True                       ==
==           uniform_yaw: True                       ==
==            lr_dropout: y                          ==
==           random_warp: False                      ==
==             gan_power: 0.0                        ==
==       true_face_power: 0.0                        ==
==      face_style_power: 0.0                        ==
==        bg_style_power: 0.0                        ==
==               ct_mode: rct                        ==
==              clipgrad: False                      ==
==              pretrain: False                      ==
==       autobackup_hour: 0                          ==
== write_preview_history: False                      ==
==           target_iter: 0                          ==
==           random_flip: False                      ==
==            batch_size: 4                          ==
==       eyes_mouth_prio: False                      ==
==             adabelief: False                      ==
==                  猫の汉化: http://t.hk.uy/4ks         ==
==                  出售仙丹: QQ564646676                ==
==       random_src_flip: False                      ==
==       random_dst_flip: True                       ==
==        gan_patch_size: 32                         ==
==              gan_dims: 16                         ==
==                                                   ==
==------------------- Running On --------------------==
==                                                   ==
==          Device index: 0                          ==
==                  Name: NVIDIA GeForce RTX 3070 Ti ==
==                  VRAM: 6.43GB                     ==
==                                                   ==
=======================================================
猫之汉化
出售神丹:564646676
淘宝店地址:http://t.hk.uy/4ks
专业换脸合作:363162676
免费教程、素材、模型论坛:dfldata.xyz
=============================================

启动中. 按回车键停止训练并保存进度。

保存时间|迭代次数|单次时间|源损失|目标损失
Error: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node Pad_33 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py:97) ]]
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.

         [[concat_37/concat/_841]]
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.

  (1) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node Pad_33 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py:97) ]]
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.

0 successful operations.
0 derived errors ignored.

Errors may have originated from an input operation.
Input Source operations connected to node Pad_33:
DepthToSpace_11 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\ops\__init__.py:338)

Input Source operations connected to node Pad_33:
DepthToSpace_11 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\ops\__init__.py:338)

Original stack trace for 'Pad_33':
  File "threading.py", line 884, in _bootstrap
  File "threading.py", line 916, in _bootstrap_inner
  File "threading.py", line 864, in run
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\mainscripts\Trainer.py", line 62, in trainerThread
    debug=debug)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\ModelBase.py", line 197, in __init__
    self.on_initialize()
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 375, in on_initialize
    gpu_pred_dst_dst, gpu_pred_dst_dstm = self.decoder_dst(gpu_dst_code)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 158, in forward
    x = self.res2(x)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 68, in forward
    x = self.conv1(inp)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\LayerBase.py", line 14, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py", line 97, in forward
    x = tf.pad (x, self.padding, mode='CONSTANT')
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\util\dispatch.py", line 201, in wrapper
    return target(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\array_ops.py", line 3422, in pad
    result = gen_array_ops.pad(tensor, paddings, name=name)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 6484, in pad
    "Pad", input=input, paddings=paddings, name=name)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 750, in _apply_op_helper
    attrs=attr_protos, op_def=op_def)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 3536, in _create_op_internal
    op_def=op_def)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 1990, in __init__
    self._traceback = tf_stack.extract_stack()

Traceback (most recent call last):
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1375, in _do_call
    return fn(*args)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1360, in _run_fn
    target_list, run_metadata)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1453, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[{{node Pad_33}}]]
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.

         [[concat_37/concat/_841]]
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.

  (1) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[{{node Pad_33}}]]
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.

0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\mainscripts\Trainer.py", line 140, in trainerThread
    iter, iter_time = model.train_one_iter()
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\ModelBase.py", line 478, in train_one_iter
    losses = self.onTrainOneIter()
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 725, in onTrainOneIter
    src_loss, dst_loss = self.src_dst_train (warped_src, target_src, target_srcm, target_srcm_em, warped_dst, target_dst, target_dstm, target_dstm_em)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 545, in src_dst_train
    self.target_dstm_em:target_dstm_em,
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
    run_metadata_ptr)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1191, in _run
    feed_dict_tensor, options, run_metadata)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1369, in _do_run
    run_metadata)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1394, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node Pad_33 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py:97) ]]
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.

         [[concat_37/concat/_841]]
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.

  (1) Resource exhausted: OOM when allocating tensor with shape[736,130,130] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
         [[node Pad_33 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py:97) ]]
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.

0 successful operations.
0 derived errors ignored.

Errors may have originated from an input operation.
Input Source operations connected to node Pad_33:
DepthToSpace_11 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\ops\__init__.py:338)

Input Source operations connected to node Pad_33:
DepthToSpace_11 (defined at F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\ops\__init__.py:338)

Original stack trace for 'Pad_33':
  File "threading.py", line 884, in _bootstrap
  File "threading.py", line 916, in _bootstrap_inner
  File "threading.py", line 864, in run
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\mainscripts\Trainer.py", line 62, in trainerThread
    debug=debug)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\ModelBase.py", line 197, in __init__
    self.on_initialize()
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 375, in on_initialize
    gpu_pred_dst_dst, gpu_pred_dst_dstm = self.decoder_dst(gpu_dst_code)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 158, in forward
    x = self.res2(x)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\models\ModelBase.py", line 117, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\archis\DeepFakeArchi.py", line 68, in forward
    x = self.conv1(inp)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\LayerBase.py", line 14, in __call__
    return self.forward(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\DeepFaceLab\core\leras\layers\Conv2D.py", line 97, in forward
    x = tf.pad (x, self.padding, mode='CONSTANT')
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\util\dispatch.py", line 201, in wrapper
    return target(*args, **kwargs)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\array_ops.py", line 3422, in pad
    result = gen_array_ops.pad(tensor, paddings, name=name)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 6484, in pad
    "Pad", input=input, paddings=paddings, name=name)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 750, in _apply_op_helper
    attrs=attr_protos, op_def=op_def)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 3536, in _create_op_internal
    op_def=op_def)
  File "F:\DeepFaceLab_NVIDIA_RTX3000_20210602_汉化版-猫之汉化\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 1990, in __init__
    self._traceback = tf_stack.extract_stack()

回复

使用道具 举报

3

主题

107

帖子

3751

积分

高级丹圣

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

积分
3751
发表于 2021-8-5 17:44:25 | 显示全部楼层
建议安装个cuda11版试一下,杀毒软件关掉,实在不行用win7吧,win10会侵占显存
回复 支持 1 反对 0

使用道具 举报

1

主题

171

帖子

3533

积分

高级丹圣

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

积分
3533
发表于 2021-8-5 17:44:51 | 显示全部楼层
高级丹童不知道这是显存爆了么,。。。。
回复 支持 反对

使用道具 举报

12

主题

86

帖子

553

积分

高级丹师

Rank: 5Rank: 5

积分
553
 楼主| 发表于 2021-8-5 18:07:48 | 显示全部楼层
阿六啊 发表于 2021-8-5 17:44
高级丹童不知道这是显存爆了么,。。。。

大哥 两天就水到高级了
回复 支持 反对

使用道具 举报

10

主题

471

帖子

3548

积分

高级丹圣

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

积分
3548
发表于 2021-8-5 18:36:36 | 显示全部楼层
错误提示不是写得很清楚了吗?OOM!置顶的精品教程里看看常见错误吧。
回复 支持 反对

使用道具 举报

22

主题

412

帖子

1万

积分

高级丹圣

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

积分
10233
发表于 2021-8-5 18:40:40 | 显示全部楼层
显存不够造成的
回复 支持 反对

使用道具 举报

0

主题

34

帖子

289

积分

初级丹师

Rank: 3Rank: 3

积分
289
发表于 2021-8-5 19:19:03 | 显示全部楼层
学习一下什么情况
回复 支持 反对

使用道具 举报

0

主题

92

帖子

141

积分

高级丹童

Rank: 2

积分
141
发表于 2021-8-5 20:22:35 | 显示全部楼层
BS可以调低一点
回复 支持 反对

使用道具 举报

10

主题

246

帖子

1440

积分

初级丹圣

Rank: 8Rank: 8

积分
1440
发表于 2021-8-6 09:04:57 | 显示全部楼层
路过  水之
回复 支持 反对

使用道具 举报

39

主题

1492

帖子

8232

积分

高级丹圣

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

积分
8232

万事如意节日勋章

发表于 2021-8-6 10:16:09 | 显示全部楼层
不懂帮顶
回复

使用道具 举报

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

GMT+8, 2024-11-29 06:49 , Processed in 0.147190 second(s), 39 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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