DeepFaceLab_NVIDIA在执行’data_src faceset extract’时输出错误 – TensorFlow

DeepFaceLab中,第4个和/或第5个进程在从data_src和/或data_dst提取faceset时输出了以下错误:

[wf] Face type ( f/wf/head ?:help ) :wf[0] Max number of faces from image ( ?:help ) :0[512] Image size ( 256-2048 ?:help ) :512[90] Jpeg quality ( 1-100 ?:help ) :90[n] Write debug images to aligned_debug? ( y/n ) :nExtracting faces...Error while subprocess initialization: Traceback (most recent call last):  File "C:\DeepFaceLab\DeepFaceLab_NVIDIA\_internal\python-3.6.8\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>    from tensorflow.python._pywrap_tensorflow_internal import *ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.During handling of the above exception, another exception occurred:

在pywrap_tensorflow.py的第64行,代码和注释如下所示:

  # pylint: disable=wildcard-import,g-import-not-at-top,line-too-long,undefined-variable  try:    from tensorflow.python._pywrap_tensorflow_internal import *  # This try catch logic is because there is no bazel equivalent for py_extension.  # Externally in opensource we must enable exceptions to load the shared object  # by exposing the PyInit symbols with pybind. This error will only be  # caught internally or if someone changes the name of the target _pywrap_tensorflow_internal.

类似的问题已在GitHub上提出,但尚未找到具体的答案。非常感谢您的帮助。


回答:

经过很长时间,我终于找到了解决方法。由于我知道训练过程会非常耗时,我决定在一台没有GPU的笔记本电脑上进行操作。正因为如此,解决方法是先执行第10步,或者执行名为10)Make CPU only的cmd文件。这样做会卸载预装的TensorFlow并下载一个旧版本,因此需要互联网连接。此外,执行此操作后无法撤销,这意味着DeepFaceLab将永远只能通过CPU运行,除非您重新安装它。

希望这能解决问题。

Related Posts

使用LSTM在Python中预测未来值

这段代码可以预测指定股票的当前日期之前的值,但不能预测…

如何在gensim的word2vec模型中查找双词组的相似性

我有一个word2vec模型,假设我使用的是googl…

dask_xgboost.predict 可以工作但无法显示 – 数据必须是一维的

我试图使用 XGBoost 创建模型。 看起来我成功地…

ML Tuning – Cross Validation in Spark

我在https://spark.apache.org/…

如何在React JS中使用fetch从REST API获取预测

我正在开发一个应用程序,其中Flask REST AP…

如何分析ML.NET中多类分类预测得分数组?

我在ML.NET中创建了一个多类分类项目。该项目可以对…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注