ComfyUI 中离线使用 ControlNet 辅助预处理器(comfyui_controlnet_aux)
1. 下载模型文件
根据所需的预处理器,下载对应的模型文件。以下是常用预处理器及其所需的模型文件:
-
anime_face_segment:
- 模型文件:
UNet.pth
- 下载链接:bdsqlsz/qinglong_controlnet-lllite/Annotators/UNet.pth
- 模型文件:
-
densepose:
- 模型文件:
densepose_r50_fpn_dl.torchscript
- 下载链接:LayerNorm/DensePose-TorchScript-with-hint-image/densepose_r50_fpn_dl.torchscript
- 模型文件:
-
hed:
- 模型文件:
ControlNetHED.pth
- 下载链接:lllyasviel/Annotators/ControlNetHED.pth
- 模型文件:
-
leres:
- 模型文件:
res101.pth
和latest_net_G.pth
- 下载链接:
- lllyasviel/Annotators/res101.pth
- lllyasviel/Annotators/latest_net_G.pth
- 模型文件:
-
midas:
- 模型文件:
dpt_hybrid-midas-501f0c75.pt
- 下载链接:lllyasviel/Annotators/dpt_hybrid-midas-501f0c75.pt
- 模型文件:
-
open_pose:
- 模型文件:
body_pose_model.pth
、hand_pose_model.pth
和facenet.pth
- 下载链接:
- lllyasviel/Annotators/body_pose_model.pth
- lllyasviel/Annotators/hand_pose_model.pth
- lllyasviel/Annotators/facenet.pth
- 模型文件:
-
depth_anything:
- 模型文件:
depth_anything_vitl14.pth
、depth_anything_vitb14.pth
或depth_anything_vits14.pth
- 下载链接:
- LiheYoung/Depth-Anything/checkpoints/depth_anything_vitl14.pth
- LiheYoung/Depth-Anything/checkpoints/depth_anything_vitb14.pth
- LiheYoung/Depth-Anything/checkpoints/depth_anything_vits14.pth
- 模型文件:
2. 模型路径
depth_anything路径:
ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/Depth-Anything/checkpoints/depth_anything_vitl14.pth
即
ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/{下载链接}
原文地址:https://blog.csdn.net/weixin_47420447/article/details/143500554
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!