deepfacelab中文网

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

在训练SAEHD模型时候遇到问题

[复制链接]

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
发表于 2021-6-4 21:38:45 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
由于我是新手,所以按照教学我没有使用蒙版,但是在SAEHD训练时候Initializing models到60%时候报了以下的错,研究了很内疚也不知道为啥。。。。还请各位大佬支招
我的配置是win 10 20H2   
CPU:R9-5900HX  
GPU:RTX 3070

报错内容:
Initializing models:  60%|#####################################8                         | 3/5 [00:14<00:09,  4.67s/it]
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 "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.ops import init_ops
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
    from ._api.v2 import compat
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
    from . import v1
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
    from . import compat
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
    from . import v2
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
    from tensorflow._api.v2.compat.v2 import __internal__
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
    from . import compat
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 39, in <module>
    from . import v1
  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
Traceback (most recent call last):
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "<string>", line 1, in <module>
      File "multiprocessing\spawn.py", line 105, in spawn_main
from tensorflow.python.ops import init_ops  File "multiprocessing\spawn.py", line 115, in _main

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
        from tensorflow.python.ops import init_opsfrom ._api.v2 import compat

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
        from . import v1from . import v1

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
        Traceback (most recent call last):
from . import compatfrom . import compat  File "<string>", line 1, in <module>


  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 39, in <module>
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
      File "multiprocessing\spawn.py", line 115, in _main
    from . import v1from . import v2

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v1\__init__.py", line 684, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
        from tensorflow.python.ops import init_opsfrom tensorflow._api.v2.compat.v2 import __internal__

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
        from ._api.v2 import compatfrom . import compat

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 40, in <module>
        from . import v1from . import v2

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\v2\__init__.py", line 41, in <module>
    from . import compat
      File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 39, in <module>
from tensorflow._api.v2.compat.v2 import distribute
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\__init__.py", line 180, in <module>
    from . import v1
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v1\__init__.py", line 684, in <module>
    from . import experimental
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\experimental\__init__.py", line 10, in <module>
    from . import coordinator
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\experimental\coordinator\__init__.py", line 10, in <module>
    from tensorflow.python.distribute.coordinator.cluster_coordinator import ClusterCoordinator
  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 771, in get_code
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
    MemoryErrorfrom tensorflow.python.keras.api._v1 import keras

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\__init__.py", line 10, in <module>
    from tensorflow.python.keras.api._v1 import keras
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\__init__.py", line 10, in <module>
        from . import kerasfrom . import keras

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\keras\__init__.py", line 32, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\keras\__init__.py", line 20, 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 115, in _main
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.ops import init_ops
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
            from . import wrappersfrom . import estimatorfrom ._api.v2 import compat


  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\keras\wrappers\__init__.py", line 10, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\keras\estimator\__init__.py", line 10, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
    from . import v1
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
    from . import compat
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
    from . import v2
  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 771, in get_code
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
MemoryError
        from . import scikit_learnfrom tensorflow.python.keras.estimator import model_to_estimator

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\python\keras\api\keras\wrappers\scikit_learn\__init__.py", line 11, in <module>
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<string>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "multiprocessing\spawn.py", line 115, in _main
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 771, in get_code
      File "<string>", line 1, in <module>
from tensorflow.python.ops import init_ops  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
  File "multiprocessing\spawn.py", line 105, in spawn_main

MemoryError  File "multiprocessing\spawn.py", line 115, in _main
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
    from tensorflow.python.keras.wrappers.scikit_learn import KerasClassifier    from ._api.v2 import compat
from tensorflow.python.ops import init_ops
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
      File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
    from . import v1  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
from ._api.v2 import compat
  File "<frozen importlib._bootstrap_external>", line 771, in get_code

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
    MemoryError    from . import compat
from . import v1

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
        from . import v2from . import compat

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
        from tensorflow._api.v2.compat.v2 import __internal__from . import v2

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
Traceback (most recent call last):
          File "<string>", line 1, in <module>
from . import compatfrom tensorflow._api.v2.compat.v2 import __internal__Traceback (most recent call last):


  File "multiprocessing\spawn.py", line 105, in spawn_main
  File "<string>", line 1, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 39, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
  File "multiprocessing\spawn.py", line 115, in _main
  File "multiprocessing\spawn.py", line 105, in spawn_main
          File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
from . import v1from . import compat  File "multiprocessing\spawn.py", line 115, in _main


  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\DeepFaceLab\core\leras\initializers\__init__.py", line 2, in <module>
from tensorflow.python.ops import init_ops  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 39, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked

          File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
from tensorflow.python.ops import init_opsfrom . import v1  File "<frozen importlib._bootstrap_external>", line 674, in exec_module


  File "<frozen importlib._bootstrap_external>", line 764, in get_code
      File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\__init__.py", line 55, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap_external>", line 833, in get_data
from ._api.v2 import compat      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
MemoryErrorfrom ._api.v2 import compat
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked


  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 39, in <module>
      File "<frozen importlib._bootstrap_external>", line 764, in get_code
from . import v1      File "<frozen importlib._bootstrap_external>", line 833, in get_data

from . import v1MemoryError  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>


  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 34, in <module>
    from . import compat
      File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
from . import compat
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 40, in <module>
    from . import v2
      File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
from . import v2
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 32, in <module>
    from tensorflow._api.v2.compat.v2 import __internal__    from tensorflow._api.v2.compat.v2 import __internal__

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 37, in <module>
    from . import compat
from . import compat  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 39, in <module>

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 40, in <module>
    from . import v1
from . import v2  File "<frozen importlib._bootstrap>", line 971, in _find_and_load

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\v2\__init__.py", line 41, in <module>
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    from tensorflow._api.v2.compat.v2 import distribute
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\__init__.py", line 180, in <module>
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
    from . import experimental  File "<frozen importlib._bootstrap_external>", line 764, in get_code

  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\experimental\__init__.py", line 10, in <module>
  File "<frozen importlib._bootstrap_external>", line 833, in get_data
    from . import coordinator
MemoryError  File "D:\DeepFaceLab\DeepFaceLab_0104-RTX\DeepFaceLab_0104-RTX30\_internal\python-3.6.8\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\experimental\coordinator\__init__.py", line 10, in <module>

    from tensorflow.python.distribute.coordinator.cluster_coordinator import ClusterCoordinator
  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 771, in get_code
  File "<frozen importlib._bootstrap_external>", line 482, in _validate_bytecode_header
MemoryError

回复

使用道具 举报

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
 楼主| 发表于 2021-6-4 21:43:05 | 显示全部楼层
对了!我的内存16G虚拟内存32G
回复 支持 反对

使用道具 举报

4

主题

310

帖子

5983

积分

高级丹圣

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

积分
5983
发表于 2021-6-4 21:43:56 | 显示全部楼层
楼下的回答...
回复 支持 反对

使用道具 举报

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
 楼主| 发表于 2021-6-4 21:49:58 | 显示全部楼层

啊?楼下的回答?
回复 支持 反对

使用道具 举报

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
 楼主| 发表于 2021-6-4 21:57:49 | 显示全部楼层
我怀疑是没有部署python环境变量,部署后就不会报错,但是一直卡在:
Initializing models:  60%|#####################################8                         | 3/5 [00:24<00:14,  7.04s/it]
初步怀疑是没有找到CUDA和CUDNN
回复 支持 反对

使用道具 举报

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
 楼主| 发表于 2021-6-4 22:45:04 | 显示全部楼层
还是报错。。。。是我的参数问题么,报错跟之前是一样的
回复 支持 反对

使用道具 举报

8

主题

389

帖子

5292

积分

版主

Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30

积分
5292

见习版主勋章优质版主勋章小有贡献勋章

发表于 2021-6-4 22:50:18 | 显示全部楼层
我去这么一长串问题啊,换个版本试下啊
回复 支持 反对

使用道具 举报

8

主题

389

帖子

5292

积分

版主

Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30Rank: 30

积分
5292

见习版主勋章优质版主勋章小有贡献勋章

发表于 2021-6-4 22:51:48 | 显示全部楼层
NathanielChen 发表于 2021-6-4 21:57
我怀疑是没有部署python环境变量,部署后就不会报错,但是一直卡在:
Initializing models:  60%|######### ...

既然你自己认为没有装好就去老黄官网从新下个在安装啊
回复 支持 反对

使用道具 举报

1

主题

7

帖子

45

积分

初级丹童

Rank: 1

积分
45
 楼主| 发表于 2021-6-4 23:03:53 | 显示全部楼层
lieyandatianshi 发表于 2021-6-4 22:51
既然你自己认为没有装好就去老黄官网从新下个在安装啊

谢谢回复,我是虚拟内存不够,我改成100G就可以了,但是现在报这个错:
Error: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[3,3,512,1024] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
回复 支持 反对

使用道具 举报

216

主题

1998

帖子

68万

积分

管理员

Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96

积分
689848

隐世金马甲勋章超级版主勋章可爱萌新勋章见习版主勋章荣誉会员勋章男同管理员-无尚荣耀勋章优质版主勋章小有贡献勋章

发表于 2021-6-5 00:08:34 | 显示全部楼层
OOM是显存不足,你把batchsize参数减小再试试
提供数字人直播服务、文字/音频驱动数字人服务,有意者联系我QQ563861181
全站默认解压密码dfldata.xyz
DFL交流QQ群五群974612885
AI绘画交流QQ群710238550
我的B站账号:特看科技的滚石   其他自称彦祖的不是我,请勿上当
回复 支持 反对

使用道具 举报

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

GMT+8, 2024-11-29 16:44 , Processed in 0.135682 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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