deepfacelab中文网

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

请教训练时出现的问题

[复制链接]

2

主题

588

帖子

3006

积分

高级丹圣

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

积分
3006
发表于 2021-4-24 21:52:38 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
各位前辈,本人显卡GTX1650,训练时参数都是调为最小,第一次可以训练,但没有训练结束。第二次训练时就出现以下情况,请各位前辈指点下?显卡是否满足参数设置?哪一版本的DFL软件适合该显卡?


运行训练程序中...

[猫之汉化 & DFLdata.xyz] 没有发现模型,输入名字新建模型 : 123
123

首次运行模型.

Choose one or several GPU idxs (separated by comma).

[CPU] : CPU
  [0] : GeForce GTX 1650

[0] Which GPU indexes to choose? :
0

[0] 几个小时备份一次 ( 0..24 英文输入法下按?获取帮助 ) :
0
[n] 保存预览历史记录 ( y/n 英文输入法下按?获取帮助 ) :
n
[0] 目标迭代次数 :
0
[n] 人脸随机翻转 ( y/n 英文输入法下按?获取帮助 ) :
n
[2] 批量大小 ( 英文输入法下按?获取帮助 ) :
2
[64] 像素 ( 64-640 英文输入法下按?获取帮助 ) :
64
[wf] 脸型 ( h/mf/f/wf/head 英文输入法下按?获取帮助 ) :
wf
[df] 自动编码器结构 AE architecture ( 英文输入法下按?获取帮助 ) :
df
[32] 自动编码器大小 ( 32-1024 英文输入法下按?获取帮助 ) :
32
[16] 编码器大小 ( 16-256 英文输入法下按?获取帮助 ) :
16
[16] 解码器大小 ( 16-256 英文输入法下按?获取帮助 ) :
16
[16] 遮罩解码器大小 ( 16-256 英文输入法下按?获取帮助 ) :
16
[y] Masked training ( y/n 英文输入法下按?获取帮助 ) :
y
[n] 眼睛和嘴巴优先 Eyes and mouth priority ( y/n 英文输入法下按?获取帮助 ) :
n
[n] 侧脸优化 Uniform yaw distribution of samples ( y/n 英文输入法下按?获取帮助 ) :
n
[y] 把模型和优化器放在GPU上 ( y/n 英文输入法下按?获取帮助 ) :
y
[y] 使用 AdaBelief 优化器? ( y/n 英文输入法下按?获取帮助 ) :
y
[n] 学习率下降 ( n/y/cpu 英文输入法下按?获取帮助 ) :
n
[y] 随机扭曲 ( y/n 英文输入法下按?获取帮助 ) :
y
[0.0] GAN强度 ( 0.0 .. 1.0 英文输入法下按?获取帮助 ) :
0.0
[0.0] '真脸强度. ( 0.0000 .. 1.0 英文输入法下按?获取帮助 ) :
0.0
[0.0] 人脸风格强度 ( 0.0..100.0 英文输入法下按?获取帮助 ) :
0.0
[0.0] 背景风格强度 ( 0.0..100.0 英文输入法下按?获取帮助 ) :
0.0
[none] 颜色转换模式 ( none/rct/lct/mkl/idt/sot 英文输入法下按?获取帮助 ) :
none
[n] 启用梯度剪裁 ( y/n 英文输入法下按?获取帮助 ) :
n
[n] 启用预训练 ( y/n 英文输入法下按?获取帮助 ) :
n
Initializing models:  40%|#########################2                                     | 2/5 [00:04<00:06,  2.24s/it]Traceback (most recent call last):
  File "<string>", line 1, in <module>
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "multiprocessing\spawn.py", line 115, in _main
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "multiprocessing\spawn.py", line 115, in _main
      File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.ops import init_ops
from tensorflow.python.ops import init_ops  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
        from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-importfrom tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 82, in <module>

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 82, in <module>
    from tensorflow.python import keras
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\__init__.py", line 29, in <module>
    from tensorflow.python.keras import datasets
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\datasets\__init__.py", line 25, in <module>
        from tensorflow.python.keras.datasets import imdb
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\datasets\imdb.py", line 25, in <module>
from tensorflow.python import keras    from tensorflow.python.keras.preprocessing.sequence import _remove_long_seq
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\preprocessing\__init__.py", line 30, in <module>

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\__init__.py", line 29, in <module>
    from tensorflow.python.keras.preprocessing import image
      File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\preprocessing\image.py", line 23, in <module>
from tensorflow.python.keras import datasets
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\datasets\__init__.py", line 25, in <module>
    from keras_preprocessing import image
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\keras_preprocessing\image\__init__.py", line 5, in <module>
    from .affine_transformations import *
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\keras_preprocessing\image\affine_transformations.py", line 15, in <module>
from tensorflow.python.keras.datasets import imdb
    from scipy import ndimage
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\scipy\ndimage\__init__.py", line 156, in <module>
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\datasets\imdb.py", line 25, in <module>
    from .measurements import *
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\scipy\ndimage\measurements.py", line 38, in <module>
        from tensorflow.python.keras.preprocessing.sequence import _remove_long_seqfrom . import morphology
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\preprocessing\__init__.py", line 30, in <module>

  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    from tensorflow.python.keras.preprocessing import image
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\preprocessing\image.py", line 23, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
Traceback (most recent call last):
from keras_preprocessing import image  File "<string>", line 1, in <module>
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\keras_preprocessing\image\__init__.py", line 8, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "<frozen importlib._bootstrap_external>", line 771, in get_code
    from .image_data_generator import ImageDataGenerator  File "multiprocessing\spawn.py", line 115, in _main

  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\keras_preprocessing\image\image_data_generator.py", line 15, in <module>
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
MemoryError    from scipy import linalg

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\scipy\linalg\__init__.py", line 202, in <module>
from tensorflow.python.ops import init_ops
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from ._decomp_qz import *Traceback (most recent call last):
      File "<string>", line 1, in <module>
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import

  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 110, in <module>
Traceback (most recent call last):
  File "multiprocessing\spawn.py", line 115, in _main
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
      File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
from tensorflow.python.training import training as train  File "<string>", line 1, in <module>

  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
from tensorflow.python.ops import init_ops  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\training\training.py", line 37, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main

  File "<frozen importlib._bootstrap_external>", line 771, in get_code
      File "multiprocessing\spawn.py", line 115, in _main
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 29, in <module>
from tensorflow.python.training.moving_averages import ExponentialMovingAverage  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
from tensorflow._api.v1 import compat  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
MemoryError

from tensorflow.python.ops import init_ops  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\__init__.py", line 21, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked

      File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow._api.v1.compat import v1  File "<frozen importlib._bootstrap_external>", line 674, in exec_module

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\v1\__init__.py", line 35, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "<frozen importlib._bootstrap_external>", line 771, in get_code
    from tensorflow._api.v1.compat.v1 import errors
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\v1\errors\__init__.py", line 8, in <module>
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 83, in <module>
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
        Traceback (most recent call last):
MemoryErrorfrom tensorflow.lite.python.lite import _NotFoundError as NotFoundErrorfrom tensorflow.python.feature_column import feature_column_lib as feature_column  File "<string>", line 1, in <module>



  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\feature_column\feature_column_lib.py", line 23, in <module>
  File "multiprocessing\spawn.py", line 115, in _main
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
from tensorflow.python.feature_column.feature_column_v2 import *
from tensorflow.python.ops import init_ops  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module

  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap_external>", line 771, in get_code
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 83, in <module>
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
      File "<frozen importlib._bootstrap_external>", line 674, in exec_module
MemoryErrorTraceback (most recent call last):
from tensorflow.python.feature_column import feature_column_lib as feature_column

  File "<frozen importlib._bootstrap_external>", line 764, in get_code
  File "<string>", line 1, in <module>
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\feature_column\feature_column_lib.py", line 22, in <module>
  File "<frozen importlib._bootstrap_external>", line 833, in get_data
  File "multiprocessing\spawn.py", line 105, in spawn_main
    from tensorflow.python.feature_column.feature_column import *MemoryError

  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "multiprocessing\spawn.py", line 115, in _main
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
    from tensorflow.python.ops import init_ops
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 103, in <module>
  File "<frozen importlib._bootstrap_external>", line 764, in get_code
    from tensorflow.python.ops import gen_boosted_trees_ops as _gen_boosted_trees_ops
  File "<frozen importlib._bootstrap_external>", line 833, in get_data
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
MemoryError
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 771, in get_code
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
MemoryError
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "multiprocessing\spawn.py", line 115, in _main
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.ops import init_ops
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\__init__.py", line 122, in <module>
    from tensorflow.python.platform import test
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\python\platform\test.py", line 30, in <module>
    from tensorflow.python.framework import test_util as _test_util
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 764, in get_code
  File "<frozen importlib._bootstrap_external>", line 833, in get_data
MemoryError
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "multiprocessing\spawn.py", line 115, in _main
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.ops import init_ops
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 29, in <module>
    from tensorflow._api.v1 import compat
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\__init__.py", line 21, in <module>
    from tensorflow._api.v1.compat import v1
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\v1\__init__.py", line 60, in <module>
    from tensorflow._api.v1.compat.v1 import saved_model
  File "E:\DeepFaceLab_0104汉化版-10.20系显卡\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v1\compat\v1\saved_model\__init__.py", line 15, in <module>
    from tensorflow._api.v1.compat.v1.saved_model import tag_constants
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 659, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 316, in __enter__
MemoryError


回复

使用道具 举报

11

主题

664

帖子

3508

积分

高级丹圣

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

积分
3508
发表于 2021-4-24 22:01:23 | 显示全部楼层
路过支持一个
回复 支持 反对

使用道具 举报

2

主题

588

帖子

3006

积分

高级丹圣

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

积分
3006
 楼主| 发表于 2021-4-24 22:08:12 | 显示全部楼层
是啥情况啊
回复 支持 反对

使用道具 举报

34

主题

1081

帖子

7257

积分

高级丹圣

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

积分
7257
发表于 2021-4-25 07:22:01 | 显示全部楼层
本帖最后由 haiou_f 于 2021-4-26 10:41 编辑

首先设置一下虚拟内存,调至“系统管理”那项即可
再就是模型还是别自己单练了,从论坛下载一个放到model里可以省去大部分时间
回复 支持 反对

使用道具 举报

2

主题

588

帖子

3006

积分

高级丹圣

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

积分
3006
 楼主| 发表于 2021-4-25 07:58:48 | 显示全部楼层
haiou_f 发表于 2021-4-25 07:22
首先设置一下虚拟内容,调至“系统管理”那项即可
再就是模型还是别自己单练了,从论坛下载一个放到model里 ...

好的,我试试,谢谢了
回复 支持 反对

使用道具 举报

3

主题

402

帖子

2476

积分

初级丹圣

Rank: 8Rank: 8

积分
2476
发表于 2021-4-25 08:30:56 | 显示全部楼层
楼上说的对
回复 支持 反对

使用道具 举报

5

主题

140

帖子

5146

积分

高级丹圣

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

积分
5146
发表于 2021-4-25 09:14:52 | 显示全部楼层
我的调整了bs后就暂时没什么问题,不过你的才2,应该不是bs的问题。
回复 支持 反对

使用道具 举报

3

主题

184

帖子

1136

积分

初级丹圣

Rank: 8Rank: 8

积分
1136
发表于 2021-4-30 09:51:18 | 显示全部楼层
最新版本 参数调低点就行了
回复 支持 反对

使用道具 举报

2

主题

2032

帖子

1万

积分

高级丹圣

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

积分
11158
发表于 2021-6-13 12:41:42 | 显示全部楼层
这个问题其实不难,你好好想一下就明白了。a
回复 支持 反对

使用道具 举报

3

主题

488

帖子

4294

积分

高级丹圣

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

积分
4294

万事如意节日勋章

发表于 2021-6-13 12:57:53 | 显示全部楼层
路过路过
回复

使用道具 举报

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

GMT+8, 2024-11-16 04:03 , Processed in 0.144559 second(s), 37 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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