deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
楼主: come3002

【6.11高质底丹】分享海选后期处理思路320 8G df-ud 纯东方女...

  [复制链接]

0

主题

6

帖子

1153

积分

禁止访问

积分
1153
发表于 2023-12-10 06:38:40 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

0

主题

35

帖子

576

积分

高级丹师

Rank: 5Rank: 5

积分
576
发表于 2023-12-10 22:11:46 | 显示全部楼层
come3002 发表于 2023-7-9 08:47
前期跑轮廓,bs 2-4  主要是要快
中期跑五官和光影 bs4 主要是要快
后期跑口、眼睛(嘴唇纹理)等更多 ...

我RTX3080 用貓的DFL,開BS1還是會報錯

Error: failed to allocate memory14][0.6849]
         [[node Mul_201 (defined at E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\OptimizerBase.py:23) ]]
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.


Errors may have originated from an input operation.
Input Source operations connected to node Mul_201:
gradients/Conv2D_16_grad/Conv2DBackpropFilter (defined at E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\ops\__init__.py:55)

Original stack trace for 'Mul_201':
  File "threading.py", line 884, in _bootstrap
  File "threading.py", line 916, in _bootstrap_inner
  File "threading.py", line 864, in run
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\mainscripts\Trainer.py", line 58, in trainerThread
    debug=debug)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\ModelBase.py", line 199, in __init__
    self.on_initialize()
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 564, in on_initialize
    src_dst_loss_gv_op = self.src_dst_opt.get_update_op (nn.average_gv_list (gpu_G_loss_gvs))
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\AdaBelief.py", line 58, in get_update_op
    g = self.tf_clip_norm(g, self.clipnorm, tf.cast(norm, g.dtype) )
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\OptimizerBase.py", line 23, in tf_clip_norm
    then_expression = tf.scalar_mul(c / n, g)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\util\dispatch.py", line 206, in wrapper
    return target(*args, **kwargs)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\math_ops.py", line 625, in scalar_mul
    return gen_math_ops.mul(scalar, x, name)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 6245, in mul
    "Mul", x=x, y=y, name=name)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_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 "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 3569, in _create_op_internal
    op_def=op_def)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 2045, in __init__
    self._traceback = tf_stack.extract_stack_for_node(self._c_op)

Traceback (most recent call last):
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1375, in _do_call
    return fn(*args)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1360, in _run_fn
    target_list, run_metadata)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_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: failed to allocate memory
         [[{{node Mul_201}}]]
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.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\mainscripts\Trainer.py", line 131, in trainerThread
    iter, iter_time = model.train_one_iter()
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\ModelBase.py", line 480, in train_one_iter
    losses = self.onTrainOneIter()
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 774, 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 "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 584, in src_dst_train
    self.target_dstm_em:target_dstm_em,
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
    run_metadata_ptr)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1191, in _run
    feed_dict_tensor, options, run_metadata)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\client\session.py", line 1369, in _do_run
    run_metadata)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_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)  # pylint: disable=no-value-for-parameter
tensorflow.python.framework.errors_impl.ResourceExhaustedError: failed to allocate memory
         [[node Mul_201 (defined at E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\OptimizerBase.py:23) ]]
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.


Errors may have originated from an input operation.
Input Source operations connected to node Mul_201:
gradients/Conv2D_16_grad/Conv2DBackpropFilter (defined at E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\ops\__init__.py:55)

Original stack trace for 'Mul_201':
  File "threading.py", line 884, in _bootstrap
  File "threading.py", line 916, in _bootstrap_inner
  File "threading.py", line 864, in run
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\mainscripts\Trainer.py", line 58, in trainerThread
    debug=debug)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\ModelBase.py", line 199, in __init__
    self.on_initialize()
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 564, in on_initialize
    src_dst_loss_gv_op = self.src_dst_opt.get_update_op (nn.average_gv_list (gpu_G_loss_gvs))
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\AdaBelief.py", line 58, in get_update_op
    g = self.tf_clip_norm(g, self.clipnorm, tf.cast(norm, g.dtype) )
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\DeepFaceLab\core\leras\optimizers\OptimizerBase.py", line 23, in tf_clip_norm
    then_expression = tf.scalar_mul(c / n, g)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\util\dispatch.py", line 206, in wrapper
    return target(*args, **kwargs)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\math_ops.py", line 625, in scalar_mul
    return gen_math_ops.mul(scalar, x, name)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 6245, in mul
    "Mul", x=x, y=y, name=name)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_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 "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 3569, in _create_op_internal
    op_def=op_def)
  File "E:\AI\DF\DFL_maozhihanhua_RTX3000\_internal\python-3.6.8\lib\site-packages\tensorflow\python\framework\ops.py", line 2045, in __init__
    self._traceback = tf_stack.extract_stack_for_node(self._c_op)
回复 支持 反对

使用道具 举报

0

主题

9

帖子

231

积分

初级丹师

Rank: 3Rank: 3

积分
231
发表于 2023-12-13 23:59:39 | 显示全部楼层
大佬,请问一下你经常提到的坛主的炼丹三步骤请问是哪三步骤呢?能拜托指路一下嘛,教程帖太多找不到是哪三步骤。
回复 支持 反对

使用道具 举报

0

主题

10

帖子

159

积分

高级丹童

Rank: 2

积分
159
发表于 2023-12-15 19:59:03 | 显示全部楼层
感谢大佬分享
回复 支持 反对

使用道具 举报

0

主题

39

帖子

526

积分

高级丹师

Rank: 5Rank: 5

积分
526

万事如意节日勋章

发表于 2023-12-18 16:53:04 | 显示全部楼层
!!!!厉害
回复

使用道具 举报

1

主题

61

帖子

1857

积分

初级丹圣

Rank: 8Rank: 8

积分
1857

万事如意节日勋章

发表于 2023-12-18 18:40:41 | 显示全部楼层
楼主说得好仔细
回复 支持 反对

使用道具 举报

2

主题

18

帖子

204

积分

初级丹师

Rank: 3Rank: 3

积分
204
发表于 2023-12-18 19:08:04 | 显示全部楼层
为什么我的3070ti 8G跑这个训练还是会OOM啊?所有参数都直接回车默认了
回复 支持 反对

使用道具 举报

2

主题

79

帖子

1090

积分

初级丹圣

Rank: 8Rank: 8

积分
1090

万事如意节日勋章

发表于 2024-1-9 23:33:03 | 显示全部楼层
小白买了,先下载学习一下,多谢大佬!
回复 支持 反对

使用道具 举报

0

主题

2

帖子

68

积分

高级丹童

Rank: 2

积分
68
发表于 2024-1-12 10:38:53 | 显示全部楼层

感谢大佬分享...先下载看看,不懂再来问
回复 支持 反对

使用道具 举报

41

主题

741

帖子

5342

积分

高级丹圣

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

积分
5342

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

发表于 2024-1-14 17:02:38 | 显示全部楼层
come3002 发表于 2023-9-3 19:03
假设 底丹 训练一定数量素材。像一个团队
第一套方案:换新素材先换来一小部分 新成员。那么底丹可以快速  ...

我如果按照第一套方案,将src分成A、B两部分,A部分2000,B部分8000
在A部分练得足够好之后,将A换成B,继续练
我应该在哪一步将A换成B呢?
我一般炼丹的步骤是1扭曲、2扭曲学习率下降、3关扭曲、4gan
我应该在2、3之前,还是4之前,换呢?

回复 支持 反对

使用道具 举报

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

GMT+8, 2024-11-22 00:51 , Processed in 0.127592 second(s), 38 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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