comfyui 突然打不开,提示主机没有反应
comfyui 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试D\ComfyUI\custom_nodes,时间排序,里面把刚才安装的模块备份到其它地方,删除,再去进程序就好了
慢慢一个个插件去排查 查出来是comfyui-reactor-node这个插件有问题 如果可以直接连接GitHub 和 huggingface ,那应该没有任何问题,
安装失败和运行报错是因为缺少文件
首先切换到ComfyUI根目录下面
1、查看内置 python 的版本
python_embeded\python.exe -V
2、下载对应版本的 insightface whl 文件,这里以 3.12 为例
https://hf-mirror.com/licyk/wheel/blob/main/insightface-0.7.3-cp312-cp312-win_amd64.whl
大家可以在这里找自己对应的版本
https://hf-mirror.com/licyk/wheel/tree/main
然后运行
python_embeded\python.exe -m pip install -U pip
python_embeded\python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl
安装
3、下载 comfyui-reactor-node
去 GitHub 下载 comfyui-reactor-node 并放到 ComfyUI\custom_nodes 目录下面
项目地址 https://github.com/Gourieff/comfyui-reactor-node
4、下载 inswapper_128.onnx
下载地址
https://hf-mirror.com/datasets/Gourieff/ReActor/blob/main/models/inswapper_128.onnx
项目地址 https://hf-mirror.com/datasets/Gourieff/ReActor
下载后的文件放到 ComfyUI\models\insightface 目录下
5、安装
运行 comfy-reactor-node 目录下的 install.bat 脚本,开始安装
6、下载模型文件
去 https://hf-mirror.com/Bingsu/adetailer/tree/main 下载 face_yolov8m.pt 放到 ComfyUI\models\ultralytics\bbox 目录下
去 https://hf-mirror.com/datasets/Gourieff/ReActor/tree/main/models/sams 下载至少一个 放到 "ComfyUI\models\sams 目录下
去 https://hf-mirror.com/datasets/Gourieff/ReActor/tree/main/models/facerestore_models
下载 GFPGANv1.3.pth GFPGANv1.4.pth codeformer-v0.1.0.pth 三个文件 放到ComfyUI\models\facerestore_models 目录下面
下载 https://github.com/deepinsight/insightface/releases/download/v0.7/buffalo_l.zip 这个文件,并解压到 ComfyUI\models 目录下。这个文件在 https://hf-mirror.com/datasets/Gourieff/ReActor 项目里面也有,可以在下载 inswapper_128.onnx 的时候一块下载。
OK,现在加载 ReActor 节点就不会报错
页:
[1]