最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

colab用,controlNet插件安裝

2023-02-17 12:59 作者:澪憬  | 我要投稿

#controlNet

%cd?/content/stable-diffusion-webui/extensions

!git?clone?https://github.com/Mikubill/sd-webui-controlnet.git

!git?pull

#安裝annotator模型,用于基于真人圖,生成骨骼圖/深度圖等

%cd?/content/stable-diffusion-webui/sd-webui-controlnet/annotator

#生成骨骼圖

%cd?/content/stable-diffusion-webui/sd-webui-controlnet/annotator/openpose

!wget?https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/body_pose_model.pth

!wget?https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/hand_pose_model.pth

#生成深度圖(midas)

%cd?/content/stable-diffusion-webui/sd-webui-controlnet/annotator/midas

!wget?https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/dpt_hybrid-midas-501f0c75.pt

#生成線段圖(MLSD線段圖)

%cd?/content/stable-diffusion-webui/sd-webui-controlnet/annotator/mlsd

!wget?https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/mlsd_large_512_fp32.pth

!wget?https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/mlsd_tiny_512_fp32.pth

#邊緣檢測圖(canny)

#%cd?/content/stable-diffusion-webui/sd-webui-controlnet/annotator/canny


#邊緣檢測圖(hed)


#安裝control_net?model,基于骨骼圖/深度圖/線稿/邊緣檢測(上色),生成圖像

%cd?/content/stable-diffusion-webui/sd-webui-controlnet/models

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_openpose-fp16.safetensors?#骨骼圖模型

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_canny-fp16.safetensors?#邊緣檢測上色caany

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_hed-fp16.safetensors?#邊緣檢測上色hed

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_mlsd-fp16.safetensors?#線段圖

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_scribble-fp16.safetensors?#手繪圖

!wget?https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_depth-fp16.safetensors?#深度圖


colab用,controlNet插件安裝的評論 (共 條)

分享到微博請遵守國家法律
贵定县| 望都县| 革吉县| 三明市| 高州市| 阳新县| 湖州市| 民和| 揭阳市| 团风县| 拜泉县| 马山县| 石台县| 板桥市| 长宁县| 邳州市| 临夏县| 鄄城县| 岫岩| 平和县| 峨眉山市| 建平县| 昌黎县| 湘西| 偃师市| 祁连县| 武平县| 聂荣县| 大名县| 怀安县| 呈贡县| 尚义县| 泽普县| 运城市| 盐边县| 城固县| 昌江| 繁峙县| 青川县| 仪征市| 华安县|