AI换脸软件DeepFaceLab在使用下载的模型训练后,执行7) merge SAEHD.bat这步的时候提示:
Traceback (most recent call last):
File “S:\dfl\DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\mainscripts\Merger.py”, line 52, in main
cpu_only=cpu_only)
File “S:\dfl\DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\models\ModelBase.py”, line 184, in __init__
self.on_initialize_options()
File “S:\dfl\DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\models\Model_SAEHD\Model.py”, line 178, in on_initialize_options
raise Exception(“pretraining_data_path is not defined”)
Exception: pretraining_data_path is not defined
解决办法:
在刚开始运行6) train SAEHD.bat启动训练的时候,2秒读秒提示时【Press enter in 2 seconds to override model settings.】快速按enter回车键,进入设置,将最后一步Enable pretraining mode( y/n ?:help )键盘输入n,回车,即关闭预训练。
文章评论
Great execution!