|
发表于 2021-10-25 12:43:21
|
显示全部楼层
你没明白我的意思。
我一共撸了5个号,有4个是前段时间搞的,都是正常的。(除了上传dfl源码)
昨天新注册的就出问题了,训练部分报错
Process Process-1:Traceback (most recent call last): File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap self.run() File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run self._target(*self._args, **self._kwargs) File "/kaggle/working/DeepFaceLab/core/leras/device.py", line 102, in _get_tf_devices_proc import tensorflow File "/opt/conda/lib/python3.7/site-packages/tensorflow/__init__.py", line 41, in <module> from tensorflow.python.tools import module_util as _module_util File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/__init__.py", line 48, in <module> from tensorflow.python import keras File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/__init__.py", line 27, in <module> from tensorflow.python.keras import models File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/models.py", line 27, in <module> from tensorflow.python.keras.engine import sequential File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/sequential.py", line 28, in <module> from tensorflow.python.keras import layers as layer_module File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/layers/__init__.py", line 177, in <module> from tensorflow.python.keras.layers.normalization import LayerNormalizationImportError: cannot import name 'LayerNormalization' from 'tensorflow.python.keras.layers.normalization' (/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/layers/normalization/__init__.py)
通过数据集只有上传dfl报错,你提供那个项目地址源码有点老(你的这个可以通过数据集 上传,但训练也报错,错误代码也一样),我直接用的作者的dfl https://github.com/iperov/DeepFaceLab 你可以试试添加这个,这个就添加不上。还有把dfl源码本地打包,通过数据集也上传失败。不是T子问题,上传素材都没问题,就上传DFL源码才会失败。 上传源码这个问题不大,我可以通过git,但是训练就报错,只有昨天注册的账号报错,其他四个号都是正常的。所以感觉是不是最近撸的多人多了,官方才封的dfl ?(操作没问题,新号和之前的四个老 号方法都一样) |
|