自学内容网 自学内容网

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.pthlatest_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.pthhand_pose_model.pthfacenet.pth
    • 下载链接:
      • lllyasviel/Annotators/body_pose_model.pth
      • lllyasviel/Annotators/hand_pose_model.pth
      • lllyasviel/Annotators/facenet.pth
  • depth_anything

    • 模型文件:depth_anything_vitl14.pthdepth_anything_vitb14.pthdepth_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)!