![Board logo](images/green001/logo.png)
标题: [教程] 1.去衣初级教程:保姆摸手教你在线给图片去衣脱衣,只需找你喜欢的女星图片就好。[10P] [打印本页]
作者: 只想抽支烟 时间: 2023-6-4 22:48 标题: 1.去衣初级教程:保姆摸手教你在线给图片去衣脱衣,只需找你喜欢的女星图片就好。[10P]
本人在这一贴中已经展示了之前的成果,
[bbs]thread-11651480-1-1.html[/bbs]
有兴趣的朋友可以看看。
另外这是去衣中级教程:
https://mkm.sisurl.com/forum/thread-11656897-1-1.html
训练模型太耗时,还是给图片脱衣快捷一些,也希望更多的人加入到这个行列中来,做好的成品多在论坛分享给大家看看。
1.能科学上网最好,想要的可以私信我。
首先登陆https://colab.research.google.com/
谷歌账号可以在ourplay app或者淘宝直接买账号,10元20元一个好像。
若自己新注册谷歌账号需要国外手机验证码,可以在这个链接去租手机号,也不贵,具体攻略自己查。
https://sms-activate.org/#
2.在Colab的顶部菜单点“代码执行程序”,打开“更改运行时类型”,按下图设置GPU,再点右上“连接”。注:Colab现在白嫖已经变得很鸡肋,动不动就掉线,有能力的就订阅一下时长,按下图设置一个小时大概一元多一点,也不贵,也顺心。
[attach]3987786[/attach]
3.连接后检查一下耗时,是1.96就是最省钱的了,够用了。然后点左上“+代码”,出现左下播放按钮。
[attach]3987787[/attach]
4.在框内粘贴如下代码,再点击播放按钮运行,一键安装SD。此过程一般6-15分钟左右,请耐心等待。复制内容到剪贴板
代码:
%cd /content
%env TF_CPP_MIN_LOG_LEVEL=1
!apt -y update -qq
!wget http://launchpadlibrarian.net/367274644/libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
!apt install -qq libunwind8-dev
!dpkg -i *.deb
%env LD_PRELOAD=libtcmalloc.so
!rm *.deb
!apt -y install -qq aria2 libcairo2-dev pkg-config python3-dev
!pip install -q torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 torchtext==0.14.1 torchdata==0.5.1 --extra-index-url https://download.pytorch.org/whl/cu116 -U
!pip install -q xformers==0.0.16 triton==2.0.0 -U
!git clone -b v2.1 https://github.com/camenduru/stable-diffusion-webui
!git clone https://huggingface.co/embed/negative /content/stable-diffusion-webui/embeddings/negative
!git clone https://huggingface.co/embed/lora /content/stable-diffusion-webui/models/Lora/positive
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth -d /content/stable-diffusion-webui/models/ESRGAN -o 4x-UltraSharp.pth
!wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py -O /content/stable-diffusion-webui/scripts/run_n_times.py
!git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface
!git clone https://github.com/camenduru/sd-civitai-browser /content/stable-diffusion-webui/extensions/sd-civitai-browser
!git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/stable-diffusion-webui/extensions/sd-webui-additional-networks
!git clone https://github.com/Mikubill/sd-webui-controlnet /content/stable-diffusion-webui/extensions/sd-webui-controlnet
!git clone https://github.com/fkunn1326/openpose-editor /content/stable-diffusion-webui/extensions/openpose-editor
!git clone https://github.com/jexom/sd-webui-depth-lib /content/stable-diffusion-webui/extensions/sd-webui-depth-lib
!git clone https://github.com/hnmr293/posex /content/stable-diffusion-webui/extensions/posex
!git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor /content/stable-diffusion-webui/extensions/sd-webui-3d-open-pose-editor
!git clone https://github.com/camenduru/sd-webui-tunnels /content/stable-diffusion-webui/extensions/sd-webui-tunnels
!git clone https://github.com/etherealxx/batchlinks-webui /content/stable-diffusion-webui/extensions/batchlinks-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-catppuccin /content/stable-diffusion-webui/extensions/stable-diffusion-webui-catppuccin
!git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-locon /content/stable-diffusion-webui/extensions/a1111-sd-webui-locon
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg /content/stable-diffusion-webui/extensions/stable-diffusion-webui-rembg
!git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot
!git clone https://github.com/camenduru/sd_webui_stealth_pnginfo /content/stable-diffusion-webui/extensions/sd_webui_stealth_pnginfo
!git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper /content/stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper
%cd /content/stable-diffusion-webui
!git reset --hard
!git -C /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai reset --hard
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_ip2p_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_shuffle_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_canny_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1p_sd15_depth_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_inpaint_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_lineart_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_mlsd_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_normalbae_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_openpose_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_scribble_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_seg_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_softedge_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15s2_lineart_anime_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1e_sd15_tile_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_style_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_style_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_seg_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_seg_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_openpose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_openpose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_keypose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_keypose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_zoedepth_sd15v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_zoedepth_sd15v1.pth
!mkdir -p /content/stable-diffusion-webui/models/Lora
!wget https://civitai.com/api/download/models/63354 -O /content/stable-diffusion-webui/models/Lora/MS_Real_POVPussyFromBelow_Lite.safetensors
# Pussy From Below
!wget https://civitai.com/api/download/models/12323 -O /content/stable-diffusion-webui/models/Lora/lora_sitting_320.pt
# Sitting Pussy Position
!wget https://civitai.com/api/download/models/28152 -O /content/stable-diffusion-webui/models/Lora/Pussy_Alicia_v01.safetensors
# StablePussy Collection
!wget https://civitai.com/api/download/models/18077 -O /content/stable-diffusion-webui/models/Lora/Creampie_v11.safetensors
# liu shui duo Creampie & Hairy Pussy
!wget https://civitai.com/api/download/models/27033 -O /content/stable-diffusion-webui/models/Lora/JK-puffy-nipples-v01.safetensors
!wget https://civitai.com/api/download/models/35553 -O /content/stable-diffusion-webui/models/Lora/BreastInClass-AsianFlatChest_v10.safetensors
# Tips:
# Lora weights 0.2-0.9
# Use keyword "flatchest", set this keywordweight up to 1.4, you will love it.
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/chilloutmix/resolve/main/chilloutmix_NiPrunedFp32Fix.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o chilloutmix_NiPrunedFp32Fix.safetensors
!sed -i -e '''/ prepare_environment()/a\ os.system\(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
!sed -i -e 's/"sd_model_checkpoint"\,/"sd_model_checkpoint\,sd_vae\,CLIP_stop_at_last_layers"\,/g' /content/stable-diffusion-webui/modules/shared.py
!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
5.安装完成后会有3个URL,一般点击最上面的就好。
[attach]3987788[/attach]
6.若要重启只需运行下面代码即可:复制内容到剪贴板
代码:
!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
7.进入SD后,选择img2img,再选择Inpaint,上传一张图片,最好是衣着分明一点、肢体正面一点的,把想脱的服装涂黑,如图:
[attach]3987808[/attach]
8.按下图设置,没提到的不用改。①仅画蒙版 ②采样方法(越底越精细越慢) ③采样步数(越高越精细越慢) ④分辨率最好保持和原图一致,或者等比例缩小,分辨率越大就越慢,这里为了出图快一点我等比缩小了一半。如果SD提示尺寸不对的话可改为百位整数 ⑤每次作图张数,越多花时间越久 ⑥每次处理几个批次的图片,在⑤的基础上乘以这个倍数就是总张数 ⑦CFG越大指让AI越侧重于提示词,一般默认就好,出图效果不佳则可略微加大 ⑧按经验0.65-0.75效果最佳,数值越小越不改变原图,越大越让AI放飞自我,若出图效果不佳,可优先更改这里。
[attach]3987792[/attach]
9.在正面负面提示词如图分别填入以下咒语:
[attach]3987810[/attach]
正面:
((nude)),(pussy),pink_nipples,breasts,(exposed little chest:1.2),(high detailed skin:0.9),best quality,photorealistic,realistic,8k high definition
负面:
(deformed iris,semi-realistic,3d,render,cg,painting,drawing,cartoon,anime,comic:0.6),(bad_prompt_version2:0.8),(bad anatomy:1.21),(worst quality:2),(low quality:2),(normal quality:2),lowers,normal quality
10.点击右上角“Generate”出图,需要等待一下。可切回Colab窗口看看工作进度:
[attach]3987790[/attach]
11.可以看到图三的效果最好,点选可以放大。这里没时间再调试,如果觉得哪里不满意的可以点下方的“Send to inpaint”进行二次重绘,涂黑不满意的地方重新作图。
[attach]3987793[/attach]
12.有的图一次就可以得很好的效果,有的就需要微调咒语和各参数好几次,甚至把内衣到内裤之间的腰部全部涂黑到皮肤边缘就能更协调,这个请自己多试几遍,都会出效果好的图。另外有的姿势比如后方视角翘臀、侧卧沙发等,需要添加相应咒语,有时间的伙伴可以多试试。比如view from behind。在这里推荐一个tag生成网址:https://tinygeeker.github.io/p/ai-prompt-generator/#/ 勾选大人会有18+提示词。
13.成果展示,去衣前后效果对比:
[attach]3987794[/attach]
[attach]3987795[/attach]
14.手机也可以操作,只需要用Firefox浏览器,打开桌面版网站即可,别的浏览器很多都不能涂黑色蒙版。
PS:有没有大佬能把图像分割模型SD-webui-segment-anything和SD中文集成到colab方法告知一下,试了很多方法都集成不进去。尤其中文集成后想一进入SD就是中文界面,而不需要选中文后再重启,谢谢。集成这些插件主要是为了能更方便新手,给新手更优渥的硬件。希望有大佬能够告知一下。
[ 本帖最后由 只想抽支烟 于 2023-6-10 13:25(GMT+8) 编辑 ]
作者: 2745992337 时间: 2023-6-4 22:55
大佬太强了,教程很详细,让小白也能看懂
作者: 7788414222 时间: 2023-6-5 02:13
试了几次,安装SD的时候都会报错,咱小白也不懂到底是哪里出错了。
[ 本帖最后由 7788414222 于 2023-6-5 02:14(GMT+8) 编辑 ]
作者: SS乐一乐 时间: 2023-6-5 02:17
世界上有一种人,看到数字就困,如果我失眠了,可以看一看这个帖子,管用。
作者: 只想抽支烟 时间: 2023-6-5 03:45
引用:
原帖由 7788414222 于 2023-6-5 02:13 发表 [bbs=redirect.php?goto=findpost&pid=112101493&ptid=11656763]
[/bbs]
试了几次,安装SD的时候都会报错,咱小白也不懂到底是哪里出错了。
我检查了一下代码,发现粘贴进去系统帮我删了点东西。现在重新贴好了,应该没问题了。你再试试。如果运行按钮没有变红自动终止,就一直留它转下去。
作者: kamieyx 时间: 2023-6-5 18:04
安装SD的时候还是会失败,是不是因为没订阅用的免费的掉线了呀?
作者: 7788414222 时间: 2023-6-5 19:25
引用:
原帖由 只想抽支烟 于 2023-6-5 03:45 发表 [bbs=redirect.php?goto=findpost&pid=112101639&ptid=11656763]
[/bbs]
我检查了一下代码,发现粘贴进去系统帮我删了点东西。现在重新贴好了,应该没问题了。你再试试。如果运行按钮没有变红自动终止,就一直留它转下去。 ...
上午跑了几次老是掉线,然后晚上刚跑了2次,又报错了。
作者: 只想抽支烟 时间: 2023-6-6 10:34
引用:
原帖由 kamieyx 于 2023-6-5 18:04 发表 [bbs=redirect.php?goto=findpost&pid=112104392&ptid=11656763]
[/bbs]
安装SD的时候还是会失败,是不是因为没订阅用的免费的掉线了呀?
输代码前右上角提示连接成功了吗?如果连接成功就应该没问题。现在掉线很严重,不清楚是不是会安装到一半的时候掉线。另外我之前有看到新闻说Colab为了减轻服务器压力,想使用SD必须订阅,不知道是真是假。
作者: 只想抽支烟 时间: 2023-6-6 10:35
引用:
原帖由 7788414222 于 2023-6-5 19:25 发表 [bbs=redirect.php?goto=findpost&pid=112104775&ptid=11656763]
[/bbs]
上午跑了几次老是掉线,然后晚上刚跑了2次,又报错了。
跑了2次是已经进入SD成功运行了对吗?如果是的话,那报错就是掉线了。
作者: 7788414222 时间: 2023-6-6 15:11
引用:
原帖由 只想抽支烟 于 2023-6-6 10:35 发表 [bbs=redirect.php?goto=findpost&pid=112108195&ptid=11656763]
[/bbs]
跑了2次是已经进入SD成功运行了对吗?如果是的话,那报错就是掉线了。
没进去呢,我觉得很大几率是没订阅的原因,但是付款又要美国地址,没有万事达的话好像付不了吧
作者: 只想抽支烟 时间: 2023-6-6 17:38
引用:
原帖由 7788414222 于 2023-6-6 15:11 发表 [bbs=redirect.php?goto=findpost&pid=112109277&ptid=11656763]
[/bbs]
没进去呢,我觉得很大几率是没订阅的原因,但是付款又要美国地址,没有万事达的话好像付不了吧
可以的,我记得地址随便乱填都可以。visa或者支持外币的貌似都可以
作者: xiao222 时间: 2023-6-7 09:14
无法连接到代码执行程序。
作者: xiao222 时间: 2023-6-7 09:41
10.点击右上角“Generate” 后咒语框右上角出现红色error,怎么办?
作者: qwe123qwe2 时间: 2023-6-7 10:10
国内手机号用不了是吧
作者: lengkua 时间: 2023-6-7 13:46
这个确实太厉害了,只要是有女生的照片或者有一些特别喜欢在朋友圈晒照片的人,估计要有点紧张了,因为这些照片随时有可能被脱掉衣服,也确实挺可怕的,所以我个人是从来不在朋友圈里晒个人照片的,但尽管我是个大老男人也没有人看,但我也不太赞同我的女性亲友不断的去晒自己的照片。
作者: 只想抽支烟 时间: 2023-6-7 14:24
引用:
原帖由 xiao222 于 2023-6-7 09:14 发表 [bbs=redirect.php?goto=findpost&pid=112113294&ptid=11656763]
[/bbs]
无法连接到代码执行程序。
连接colab都连不上的话,只能订阅了。或者半夜网络没那么堵再试试
[ 本帖最后由 只想抽支烟 于 2023-6-7 14:30(GMT+8) 编辑 ]
作者: 只想抽支烟 时间: 2023-6-7 14:26
引用:
原帖由 xiao222 于 2023-6-7 09:41 发表 [bbs=redirect.php?goto=findpost&pid=112113377&ptid=11656763]
[/bbs]
10.点击右上角“Generate” 后咒语框右上角出现红色error,怎么办?
掉线了,要重启
作者: 只想抽支烟 时间: 2023-6-7 14:27
引用:
原帖由 qwe123qwe2 于 2023-6-7 10:10 发表 [bbs=redirect.php?goto=findpost&pid=112113489&ptid=11656763]
[/bbs]
国内手机号用不了是吧
用不了了,今年起限制国内手机号了
作者: 只想抽支烟 时间: 2023-6-7 14:29
引用:
原帖由 lengkua 于 2023-6-7 13:46 发表 [bbs=redirect.php?goto=findpost&pid=112114273&ptid=11656763]
[/bbs]
这个确实太厉害了,只要是有女生的照片或者有一些特别喜欢在朋友圈晒照片的人,估计要有点紧张了,因为这些照片随时有可能被脱掉衣服,也确实挺可怕的,所以我个人是从来不在朋友圈里晒个人照片的,但尽管我是个大老男人也没有人 ...
不是有个坐地铁的姑娘图片被脱了衣服造谣吗,前段还闹得沸沸扬扬。被别有用心的人用到那确实是蛮可怕的。
作者: bbpltsll 时间: 2023-6-7 17:46
大神的教程很详细 , 佩服!!就是首先要能科学上网
作者: ssssy66617 时间: 2023-6-8 09:37
这和我直接安装SD在电脑上有什么区别吗
作者: frankwin05 时间: 2023-6-9 13:27
论讨有大佬的存在是我辈的福音啊!能试一试刘浩存的二创图嘛?这个小妮子我垂涎很久了咩哈哈哈~~~~
作者: 皮皮归来 时间: 2023-6-10 00:55
现在国内手机号不能用,谷的账号没法注册,真是郁闷了。话说SD直接下载安装不行吗?
作者: a65512696 时间: 2023-6-10 02:34
大佬太强了,教程很详细,让小白也能看懂
作者: 只想抽支烟 时间: 2023-6-10 12:05 标题: 回复 22楼 的帖子
同好,发了个刘浩存去衣贴,你去看看
https://mkm.sisurl.com/forum/thread-11661302-1-1.html
[ 本帖最后由 只想抽支烟 于 2023-6-10 13:03(GMT+8) 编辑 ]
作者: 只想抽支烟 时间: 2023-6-10 12:17 标题: 回复 23楼 的帖子
对比colab的配置,很多人没有那么超高配的机子,我的本本10G内存,2G显存,本地安装跑出来的图很耗时质量也不好,估计会想砸电脑,我看过别人跑图要一小时,colab才一分钟,高下立判。
谷歌总有办法注册的,需要国外手机验证码可以上这个网去租,也不贵,自己百度一下看怎么租。
https://sms-activate.org/#
或者下谷歌三件套app比如ourplay等,它们有出售谷歌账号,一个好像20块。
[ 本帖最后由 只想抽支烟 于 2023-6-10 13:06(GMT+8) 编辑 ]
作者: suckme2222 时间: 2023-6-13 15:33
楼主 这边儿也是进SD 失败呢,订阅了也是失败,提示Torch is not able to use GPU 报错,有啥办法不
作者: 只想抽支烟 时间: 2023-6-13 16:44
引用:
原帖由 suckme2222 于 2023-6-13 15:33 发表 [bbs=redirect.php?goto=findpost&pid=112144751&ptid=11656763]
[/bbs]
楼主 这边儿也是进SD 失败呢,订阅了也是失败,提示Torch is not able to use GPU 报错,有啥办法不
你按第2、第3个步骤来设置好GPU了吗?仔细核对一下
作者: 蓝色884488 时间: 2023-6-13 16:49
SD是什么,求科普
作者: 只想抽支烟 时间: 2023-6-13 17:18
引用:
原帖由 蓝色884488 于 2023-6-13 16:49 发表 [bbs=redirect.php?goto=findpost&pid=112145046&ptid=11656763]
[/bbs]
SD是什么,求科普
Stable Diffusion,最流行的AI开源绘图工具
作者: feijksis 时间: 2023-6-16 23:16
有不需要翻墙的方式吗?
作者: voidwoman 时间: 2023-6-17 07:08
多谢大佬,学习了,这就去弄
作者: voidwoman 时间: 2023-6-17 08:01
感谢大大,目前已经初步成功了
但是目前出现的问题是,生成的图片就是把凸点画出来了,但是并没有把衣服脱掉,不清楚是哪里出了问题
作者: 只想抽支烟 时间: 2023-6-17 11:21
引用:
原帖由 voidwoman 于 2023-6-17 08:01 发表 [bbs=redirect.php?goto=findpost&pid=112160900&ptid=11656763]
[/bbs]
感谢大大,目前已经初步成功了
但是目前出现的问题是,生成的图片就是把凸点画出来了,但是并没有把衣服脱掉,不清楚是哪里出了问题
多调整CFG和denoising那两个参数,如果是深色系服装或者穿很多衣服的,你可以看看中级教程
作者: sexmania_Q 时间: 2023-6-24 22:08
教程太赞了,每次安装的时间有点长。如果开一个google drive的订阅,是不是把stable diffusion webui的文件夹存下来,每次从google drive读取应该可以?
作者: 只想抽支烟 时间: 2023-6-24 23:53 标题: 回复 33楼 的帖子
按教程改参数,优先改那两个参数
作者: 只想抽支烟 时间: 2023-6-24 23:55
引用:
原帖由 sexmania_Q 于 2023-6-24 22:08 发表 [bbs=redirect.php?goto=findpost&pid=112194805&ptid=11656763]
[/bbs]
教程太赞了,每次安装的时间有点长。如果开一个google drive的订阅,是不是把stable diffusion webui的文件夹存下来,每次从google drive读取应该可以?
可以,不心疼钱的话可以这么弄,网上有教程
作者: xiao222 时间: 2023-7-6 10:58
代码失效了,完成以后不显示连接了,请问怎么回事(一直保持连接,付费了)
作者: 只想抽支烟 时间: 2023-7-6 14:10 标题: 回复 38楼 的帖子
复制代码时候看看有没有缺漏。翻墙了吧?我这边还行。
作者: dx3906 时间: 2023-7-9 21:51
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
这个是什么错误
作者: 只想抽支烟 时间: 2023-7-9 22:32 标题: 回复 40楼 的帖子
复制代码要复制全。还有现在要订阅估计才能正确运行
作者: dx3906 时间: 2023-7-10 06:29
复制了好几次,而且单元也买了
作者: xiao222 时间: 2023-7-10 09:48
科学了,翻墙了,以前都可以,就前几天开始不行了,运行以后不出现网址。复制的代码绝对完整,试了很多次都不行……求帮助引用:
原帖由 只想抽支烟 于 2023-7-6 14:10 发表 [bbs=redirect.php?goto=findpost&pid=112248317&ptid=11656763]
[/bbs]
复制代码时候看看有没有缺漏。翻墙了吧?我这边还行。
作者: 只想抽支烟 时间: 2023-7-10 12:02
楼上两个换一个浏览器试试,360,chrome,firefox都分别试试
作者: dx3906 时间: 2023-7-10 12:24
还是不行,是不是代码的问题
作者: dx3906 时间: 2023-7-10 12:27
Status Legend:
(OK):download completed.
sed: can't read /content/stable-diffusion-webui/launch.py: No such file or directory
sed: can't read /content/stable-diffusion-webui/modules/shared.py: No such file or directory
python3: can't open file '/content/stable-diffusion-webui/launch.py': [Errno 2] No such file or directory
大神看一下
作者: SydneyCarton 时间: 2023-7-11 21:36
我这是Installing pycloudflared时开始报错,返回这俩Could not find TensorRT
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
大哥们一块看看,前边是不是得再导入个啥库?
返回的全文是:
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
2023-07-11 13:30:38.929197: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 382, in <module>
start()
File "/content/stable-diffusion-webui/launch.py", line 372, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 28, in <module>
from modules import extra_networks, ui_extra_networks_checkpoints
File "/content/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 5, in <module>
from modules import shared, ui_extra_networks, sd_models
File "/content/stable-diffusion-webui/modules/sd_models.py", line 17, in <module>
from modules.sd_hijack_inpainting import do_inpainting_hijack
File "/content/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 7, in <module>
import ldm.models.diffusion.ddpm
File "/content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 12, in <module>
import pytorch_lightning as pl
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/__init__.py", line 34, in <module>
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/__init__.py", line 25, in <module>
from pytorch_lightning.callbacks.progress import ProgressBarBase, RichProgressBar, TQDMProgressBar
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/__init__.py", line 22, in <module>
from pytorch_lightning.callbacks.progress.rich_progress import RichProgressBar # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/rich_progress.py", line 20, in <module>
from torchmetrics.utilities.imports import _compare_version
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
作者: xiao222 时间: 2023-7-12 09:07
不行啊,不是浏览器的问题,代码最近都不行了,你看大家都是。我以前能用,后来就出现这个情况了。
作者: 只想抽支烟 时间: 2023-7-12 14:27 标题: 回复 48楼 的帖子
最近比较忙,有时间我检查一下。可能某个主体链接失效了
作者: xiao222 时间: 2023-7-14 11:07
多谢啦
大家都在等着大神引用:
原帖由 只想抽支烟 于 2023-7-12 14:27 发表 [bbs=redirect.php?goto=findpost&pid=112277336&ptid=11656763]
[/bbs]
最近比较忙,有时间我检查一下。可能某个主体链接失效了
作者: JBQ751 时间: 2023-7-15 03:43
感谢楼主收藏了,你给了我打开内心深处黑森林大门的钥匙,有空慢慢尝试,感谢!
作者: xiao222 时间: 2023-7-18 08:51
还是不行啊
作者: kongji 时间: 2023-7-18 09:25
个人感受,大大说的很细致了,但是大家不能不注意一个细节,你的网络环境和电脑、软件都需要准备调整,再按着这个教程做,才能保证成功。
作者: qq392074143 时间: 2023-7-18 19:40
按照文章步骤走,安装SD后最终报错了。下面是报错的文本:
Installing requirements for CivitAI Browser
Installing sd-webui-controlnet requirement: mediapipe
Installing sd-webui-controlnet requirement: svglib
Installing sd-webui-controlnet requirement: fvcore
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
2023-07-18 11:38:51.460150: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 382, in <module>
start()
File "/content/stable-diffusion-webui/launch.py", line 372, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 28, in <module>
from modules import extra_networks, ui_extra_networks_checkpoints
File "/content/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 5, in <module>
from modules import shared, ui_extra_networks, sd_models
File "/content/stable-diffusion-webui/modules/sd_models.py", line 17, in <module>
from modules.sd_hijack_inpainting import do_inpainting_hijack
File "/content/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 7, in <module>
import ldm.models.diffusion.ddpm
File "/content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 12, in <module>
import pytorch_lightning as pl
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/__init__.py", line 34, in <module>
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/__init__.py", line 25, in <module>
from pytorch_lightning.callbacks.progress import ProgressBarBase, RichProgressBar, TQDMProgressBar
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/__init__.py", line 22, in <module>
from pytorch_lightning.callbacks.progress.rich_progress import RichProgressBar # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/rich_progress.py", line 20, in <module>
from torchmetrics.utilities.imports import _compare_version
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
作者: xiao222 时间: 2023-7-19 09:46
都准备齐了,以前能成功,现在不行了,你看看这么多人都不行引用:
原帖由 kongji 于 2023-7-18 09:25 发表 [bbs=redirect.php?goto=findpost&pid=112303746&ptid=11656763]
[/bbs]
个人感受,大大说的很细致了,但是大家不能不注意一个细节,你的网络环境和电脑、软件都需要准备调整,再按着这个教程做,才能保证成功。
作者: 只想抽支烟 时间: 2023-7-19 21:57 标题: 楼主统一回复:
复制内容到剪贴板
代码:
%cd /content
%env TF_CPP_MIN_LOG_LEVEL=1
!apt -y update -qq
!wget http://launchpadlibrarian.net/367274644/libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
!apt install -qq libunwind8-dev
!dpkg -i *.deb
%env LD_PRELOAD=libtcmalloc.so
!rm *.deb
!apt -y install -qq aria2 libcairo2-dev pkg-config python3-dev
!pip install torchmetrics==0.11.4 torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchtext==0.14.1 torchaudio==0.13.1 torchdata==0.5.1 --extra-index-url https://download.pytorch.org/whl/cu117
!pip install -q xformers==0.0.16 triton==2.0.0 -U
!git clone -b v2.1 https://github.com/camenduru/stable-diffusion-webui
!git clone https://huggingface.co/embed/negative /content/stable-diffusion-webui/embeddings/negative
!git clone https://huggingface.co/embed/lora /content/stable-diffusion-webui/models/Lora/positive
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth -d /content/stable-diffusion-webui/models/ESRGAN -o 4x-UltraSharp.pth
!wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py -O /content/stable-diffusion-webui/scripts/run_n_times.py
!git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface
!git clone https://github.com/camenduru/sd-civitai-browser /content/stable-diffusion-webui/extensions/sd-civitai-browser
!git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/stable-diffusion-webui/extensions/sd-webui-additional-networks
!git clone https://github.com/Mikubill/sd-webui-controlnet /content/stable-diffusion-webui/extensions/sd-webui-controlnet
!git clone https://github.com/fkunn1326/openpose-editor /content/stable-diffusion-webui/extensions/openpose-editor
!git clone https://github.com/jexom/sd-webui-depth-lib /content/stable-diffusion-webui/extensions/sd-webui-depth-lib
!git clone https://github.com/hnmr293/posex /content/stable-diffusion-webui/extensions/posex
!git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor /content/stable-diffusion-webui/extensions/sd-webui-3d-open-pose-editor
!git clone https://github.com/camenduru/sd-webui-tunnels /content/stable-diffusion-webui/extensions/sd-webui-tunnels
!git clone https://github.com/etherealxx/batchlinks-webui /content/stable-diffusion-webui/extensions/batchlinks-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-catppuccin /content/stable-diffusion-webui/extensions/stable-diffusion-webui-catppuccin
!git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-locon /content/stable-diffusion-webui/extensions/a1111-sd-webui-locon
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg /content/stable-diffusion-webui/extensions/stable-diffusion-webui-rembg
!git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot
!git clone https://github.com/camenduru/sd_webui_stealth_pnginfo /content/stable-diffusion-webui/extensions/sd_webui_stealth_pnginfo
!git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper /content/stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper
%cd /content/stable-diffusion-webui
!git reset --hard
!git -C /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai reset --hard
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_ip2p_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_shuffle_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_canny_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1p_sd15_depth_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_inpaint_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_lineart_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_mlsd_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_normalbae_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_openpose_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_scribble_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_seg_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_softedge_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15s2_lineart_anime_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1e_sd15_tile_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_style_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_style_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_seg_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_seg_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_openpose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_openpose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_keypose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_keypose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_zoedepth_sd15v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_zoedepth_sd15v1.pth
!mkdir -p /content/stable-diffusion-webui/models/Lora
!wget https://civitai.com/api/download/models/63354 -O /content/stable-diffusion-webui/models/Lora/MS_Real_POVPussyFromBelow_Lite.safetensors
# Pussy From Below
!wget https://civitai.com/api/download/models/12323 -O /content/stable-diffusion-webui/models/Lora/lora_sitting_320.pt
# Sitting Pussy Position
!wget https://civitai.com/api/download/models/28152 -O /content/stable-diffusion-webui/models/Lora/Pussy_Alicia_v01.safetensors
# StablePussy Collection
!wget https://civitai.com/api/download/models/18077 -O /content/stable-diffusion-webui/models/Lora/Creampie_v11.safetensors
# liu shui duo Creampie & Hairy Pussy
!wget https://civitai.com/api/download/models/27033 -O /content/stable-diffusion-webui/models/Lora/JK-puffy-nipples-v01.safetensors
!wget https://civitai.com/api/download/models/35553 -O /content/stable-diffusion-webui/models/Lora/BreastInClass-AsianFlatChest_v10.safetensors
# Tips:
# Lora weights 0.2-0.9
# Use keyword "flatchest", set this keywordweight up to 1.4, you will love it.
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/chilloutmix/resolve/main/chilloutmix_NiPrunedFp32Fix.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o chilloutmix_NiPrunedFp32Fix.safetensors
!sed -i -e '''/ prepare_environment()/a\ os.system\(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
!sed -i -e 's/"sd_model_checkpoint"\,/"sd_model_checkpoint\,sd_vae\,CLIP_stop_at_last_layers"\,/g' /content/stable-diffusion-webui/modules/shared.py
!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
[ 本帖最后由 只想抽支烟 于 2023-7-19 23:05(GMT+8) 编辑 ]
作者: 只想抽支烟 时间: 2023-7-19 23:05
已更新代码,亲测可用。请大家重新粘贴代码
作者: sukiquan 时间: 2023-7-20 04:15
多谢楼主分享经验,不过对于我来说还是很有难度,可不可以给您发图片然后您帮着做一下
作者: qq392074143 时间: 2023-7-20 09:10 标题: 回复 56楼 的帖子
楼主,我把你最新的代码复制过来使用,还是报错了。你能帮我看看吗?
下面是代码执行的最后几段信息:
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
afcab8|OK | 0B/s|/content/stable-diffusion-webui/models/Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors
Status Legend:
(OK):download completed.
Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x575855b19740
作者: 只想抽支烟 时间: 2023-7-20 11:49
引用:
原帖由 qq392074143 于 2023-7-20 09:10 发表 [bbs=redirect.php?goto=findpost&pid=112313004&ptid=11656763]
[/bbs]
楼主,我把你最新的代码复制过来使用,还是报错了。你能帮我看看吗?
下面是代码执行的最后几段信息:
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+===================================== ...
昨晚都还行,现在又不行了。检查了一下,现在这个是最新的:复制内容到剪贴板
代码:
%cd /content
%env TF_CPP_MIN_LOG_LEVEL=1
!apt -y update -qq
!apt -y install -qq aria2 libcairo2-dev pkg-config python3-dev
!pip install -q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
!pip install -q xformers==0.0.19 triton==2.0.0 -U
!git clone -b v2.2 https://github.com/camenduru/stable-diffusion-webui
!git clone https://huggingface.co/embed/negative /content/stable-diffusion-webui/embeddings/negative
!git clone https://huggingface.co/embed/lora /content/stable-diffusion-webui/models/Lora/positive
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth -d /content/stable-diffusion-webui/models/ESRGAN -o 4x-UltraSharp.pth
!wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py -O /content/stable-diffusion-webui/scripts/run_n_times.py
!git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface
!git clone https://github.com/camenduru/sd-civitai-browser /content/stable-diffusion-webui/extensions/sd-civitai-browser
!git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/stable-diffusion-webui/extensions/sd-webui-additional-networks
!git clone https://github.com/Mikubill/sd-webui-controlnet /content/stable-diffusion-webui/extensions/sd-webui-controlnet
!git clone https://github.com/fkunn1326/openpose-editor /content/stable-diffusion-webui/extensions/openpose-editor
!git clone https://github.com/jexom/sd-webui-depth-lib /content/stable-diffusion-webui/extensions/sd-webui-depth-lib
!git clone https://github.com/hnmr293/posex /content/stable-diffusion-webui/extensions/posex
!git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor /content/stable-diffusion-webui/extensions/sd-webui-3d-open-pose-editor
!git clone https://github.com/camenduru/sd-webui-tunnels /content/stable-diffusion-webui/extensions/sd-webui-tunnels
!git clone https://github.com/etherealxx/batchlinks-webui /content/stable-diffusion-webui/extensions/batchlinks-webui
!git clone https://github.com/camenduru/stable-diffusion-webui-catppuccin /content/stable-diffusion-webui/extensions/stable-diffusion-webui-catppuccin
!git clone https://github.com/camenduru/a1111-sd-webui-locon /content/stable-diffusion-webui/extensions/a1111-sd-webui-locon
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg /content/stable-diffusion-webui/extensions/stable-diffusion-webui-rembg
!git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot
!git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper /content/stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper
!git clone https://github.com/tjm35/asymmetric-tiling-sd-webui /content/stable-diffusion-webui/extensions/asymmetric-tiling-sd-webui
%cd /content/stable-diffusion-webui
!git reset --hard
!git -C /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai reset --hard
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_ip2p_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_ip2p_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_shuffle_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11e_sd15_shuffle_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_canny_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_canny_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1p_sd15_depth_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1p_sd15_depth_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_inpaint_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_inpaint_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_lineart_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_lineart_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_mlsd_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_mlsd_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_normalbae_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_normalbae_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_openpose_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_openpose_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_scribble_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_scribble_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_seg_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_seg_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_softedge_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15_softedge_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15s2_lineart_anime_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11p_sd15s2_lineart_anime_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1e_sd15_tile_fp16.yaml -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o control_v11f1e_sd15_tile_fp16.yaml
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_style_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_style_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_seg_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_seg_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_openpose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_openpose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_keypose_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_keypose_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_canny_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_depth_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_depth_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd15v2.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_sketch_sd15v2.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_zoedepth_sd15v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_zoedepth_sd15v1.pth
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/chilloutmix/resolve/main/chilloutmix_NiPrunedFp32Fix.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o chilloutmix_NiPrunedFp32Fix.safetensors
!sed -i -e '''/ prepare_environment()/a\ os.system\(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
!sed -i -e 's/"sd_model_checkpoint"\,/"sd_model_checkpoint\,sd_vae\,CLIP_stop_at_last_layers"\,/g' /content/stable-diffusion-webui/modules/shared.py
!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
作者: dx3906 时间: 2023-7-20 21:39
可以用了,谢谢楼主。
另外问一下,安装好了可以保存么,还是每次用都要重新跑一遍。
作者: liyaguang 时间: 2023-7-20 21:48
一大堆密密麻麻的代码,看着头疼,直接看最后效果,确实很厉害 牛
作者: 只想抽支烟 时间: 2023-7-20 21:50
引用:
原帖由 dx3906 于 2023-7-20 21:39 发表 [bbs=redirect.php?goto=findpost&pid=112315813&ptid=11656763]
[/bbs]
可以用了,谢谢楼主。
另外问一下,安装好了可以保存么,还是每次用都要重新跑一遍。
可以保存到google drive,每次可以节省不少时间,但是要钱扩容才够空间存储。相关教程很多,可以自己搜。否则,每次都要跑一遍代码。
作者: xiao222 时间: 2023-7-24 09:52
谢谢楼主,但是不会保存啊
要是也有教程就好了!网上也搜不到引用:
原帖由 只想抽支烟 于 2023-7-20 21:50 发表 [bbs=redirect.php?goto=findpost&pid=112315857&ptid=11656763]
[/bbs]
可以保存到google drive,每次可以节省不少时间,但是要钱扩容才够空间存储。相关教程很多,可以自己搜。否则,每次都要跑一遍代码。
作者: 只想抽支烟 时间: 2023-7-24 20:00
引用:
原帖由 xiao222 于 2023-7-24 09:52 发表 [bbs=redirect.php?goto=findpost&pid=112332194&ptid=11656763]
[/bbs]
谢谢楼主,但是不会保存啊
要是也有教程就好了!网上也搜不到
翻墙用google搜:colab调取drive的stable diffusion,类似的话语。我没有实践过,因为sd至少20G起步,google drive免费有15G,需要花钱扩容。但有人这样搞。
作者: 只想抽支烟 时间: 2023-7-25 16:21 标题: 通过google drive提高速度的办法
https://mailberry.com.cn/2023/05/step-by-step-to-deploy-stable-diffusion-to-the-cloud-google-drive/
参考以上链接,亲测可行,但是感觉启动速度也没提高多少。伙伴们可使用反馈
作者: sis001artur 时间: 2023-7-31 10:36 标题: 大佬 订阅了然后运行了好几次 最后结果都是这个 没有出现链接是怎么回事
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
a5d1db|OK | 185MiB/s|/content/stable-diffusion-webui/models/Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors
Status Legend:
(OK):download completed.
Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing gfpgan
Installing clip
Installing open_clip
Cloning Stable Diffusion into /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning Taming Transformers into /content/stable-diffusion-webui/repositories/taming-transformers...
Cloning K-diffusion into /content/stable-diffusion-webui/repositories/k-diffusion...
Cloning CodeFormer into /content/stable-diffusion-webui/repositories/CodeFormer...
Cloning BLIP into /content/stable-diffusion-webui/repositories/BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Downloading pose_landmark_full.tflite...
Downloading pose_web.binarypb...
Downloading pose_solution_packed_assets.data...
Downloading pose_solution_simd_wasm_bin.wasm...
Downloading pose_solution_packed_assets_loader.js...
Downloading pose_solution_simd_wasm_bin.js...
Installing requirements for CivitAI Browser
Installing pycloudflared
Installing sd-webui-controlnet requirement: mediapipe
Installing sd-webui-controlnet requirement: svglib
Installing sd-webui-controlnet requirement: fvcore
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing rembg
Installing onnxruntime for REMBG extension
Installing pymatting for REMBG extension
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x5603a60b7740
作者: 只想抽支烟 时间: 2023-8-1 09:21 标题: 回复 67楼 的帖子
是用60楼的最新代码吗?
作者: yps1126042 时间: 2023-8-2 00:36
大神真厉害,作为小白的我只能佩服,这就去实践一下!要是以后能有一键脱衣且效果不错的软件就更好了!
作者: 美的123 时间: 2023-8-2 11:38
大佬分享的非常仔细但是眼睛董了大脑没(ಡωಡ)
作者: Bookermanx 时间: 2023-8-9 04:07
大佬。SD有本机安装教程吗,网不好用colab老掉。想拿家里的2060跑一跑
作者: 只想抽支烟 时间: 2023-8-9 08:10
引用:
原帖由 Bookermanx 于 2023-8-9 04:07 发表 [bbs=redirect.php?goto=findpost&pid=112408406&ptid=11656763]
[/bbs]
大佬。SD有本机安装教程吗,网不好用colab老掉。想拿家里的2060跑一跑
上b站搜秋叶整合包
作者: jy02197861 时间: 2023-8-13 18:16
引用:
原帖由 Bookermanx 于 2023-8-9 04:07 发表 [bbs=redirect.php?goto=findpost&pid=112408406&ptid=11656763]
[/bbs]
大佬。SD有本机安装教程吗,网不好用colab老掉。想拿家里的2060跑一跑
这题我会,前天看了几个安装教程,弄了一天才装好,建议你去B站搜stable diffusion换脸插件roop的安装全流程演示,按照这个方法安装基本没问题,别的安装教程或多或少有问题。
注:
1.建议把第三、四部放到第五步后面;
2.第五步下载的压缩包,把SD根目录里的py310文件夹删除,把压缩包里的py310.ZIP解压放到SD根目录,然后执行python -m pip install insightface==0.7.3和python.exe -m pip install --upgrade pip命令。
作者: aa879601302 时间: 2023-9-5 19:15
还没看,先来评论一下,一直都想学学看,感谢你的帖子
作者: herototti 时间: 2023-9-6 13:33
感谢感谢!
作者: diyhs2570 时间: 2023-9-6 14:22
这纯纯的技术活啊,想到了年轻时学PS的过程。
作者: xxshty 时间: 2023-9-6 22:39
虽然看这些技术活有些眼晕,但是还要感谢大佬的分享
作者: wxxgggg123 时间: 2023-10-3 18:30
:excellence
作者: FreeAcer 时间: 2023-10-5 13:04
最好找个云服务器,之前看到有那种1个月几块钱的云服务器!
作者: cofromdeath 时间: 2023-10-24 02:08
谷歌好像把深度伪装给禁了,有没有别的服务器可用啊?
作者: dz8888 时间: 2023-10-25 16:36
太实用了,终于可以对我女神下手了
作者: woyaorizhouchi 时间: 2023-10-29 01:20
大佬请教一下,连接的时候一直掉线,想要订阅时长,有没有国外的卡,付不了费,要怎么破呀?
作者: dx3906 时间: 2023-11-11 10:30
楼主你好,代码好像又有报错,能更新一下么,辛苦了
作者: hnb666666 时间: 2023-11-15 01:42 标题: 为啥是这样的 啥意思 ,错误吗?
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 382, in <module>
start()
File "/content/stable-diffusion-webui/launch.py", line 372, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 22, in <module>
import gradio
File "/usr/local/lib/python3.10/dist-packages/gradio/__init__.py", line 3, in <module>
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 34, in <module>
from gradio import media_data, processing_utils, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/processing_utils.py", line 23, in <module>
from gradio import encryptor, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 416, in <module>
class AsyncRequest:
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 436, in AsyncRequest
client = httpx.AsyncClient()
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1397, in __init__
self._transport = self._init_transport(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 275, in __init__
self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options
作者: a8909257 时间: 2023-11-19 20:49
我也是这样的 没出 URL 啥意思呢
作者: lcm4896800 时间: 2023-11-20 10:58
都是大佬 小弟拜服,五体头地
作者: 罪恶绅士 时间: 2023-12-18 23:18
不出url,显示不支持,求问怎么解决
作者: 工藤皓晨 时间: 2023-12-18 23:58
这个脱衣效果不错,就是下面有点假了,要是能再密一点黑一点或者直接没有看起来会好些
作者: xuanjifan 时间: 2024-1-1 20:14
写的很好,有没有高级版的教程
作者: xuanjifan 时间: 2024-1-2 07:09
楼主 请问大模型用的是哪个 我的生成的皮肤和原图皮肤衔接不自然
作者: cycyclcl 时间: 2024-1-2 17:19
膜拜大佬
作者: qwerache 时间: 2024-2-14 01:51
楼主请问为啥会出现以下问题呀!好人一生平安Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple2024-02-13 17:43:57.111130: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered2024-02-13 17:43:57.111196: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered2024-02-13 17:43:57.112673: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registeredsrc/tcmalloc.cc:283] Attempt to free invalid pointer 0x5a40cc6fc5c0
作者: cctv20 时间: 2024-2-14 02:29
高手
作者: zhoujianying 时间: 2024-2-19 21:00
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
执行了60楼的新代码,还是不行,报错如上....
作者: 权威23 时间: 2024-2-24 11:03
大佬,订阅必须要美国的借记卡或者信用卡吗
作者: Eygnahz 时间: 2024-2-25 13:53
好帖,进我收藏先吃灰吧
作者: iorewei 时间: 2024-2-27 14:42
大模型可以分享一下吗
作者: 强性扒盗 时间: 2024-3-14 22:06
学习了 真的是已经很简单扼要的介绍了每一步 我感觉只要照搬一般都可以实现自己想要的图片 真的感谢楼主大佬的分享 虚心学习 再接再厉
作者: douglasanother 时间: 2024-3-16 14:06 标题: 用不了了
这是免费层级禁止执行的代码,因此您的运行时已断开连接。Colab 可为数百万用户提供帮助,并优先处理交互式程序设计会话,但不允许某些类型的使用行为(如常见问题解答中所述)。如果您认为此消息有误,请提出申诉。请提供与您的使用情形相关的所有背景信息。
您的计算单元余量为 0 个。 购买更多计算单元
作者: qqsqyhm 时间: 2024-3-19 00:30
ControlNet init warning: Unable to install insightface automatically. Please try run `pip install insightface` manually.
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 382, in <module>
start()
File "/content/stable-diffusion-webui/launch.py", line 372, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 22, in <module>
import gradio
File "/usr/local/lib/python3.10/dist-packages/gradio/__init__.py", line 3, in <module>
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 34, in <module>
from gradio import media_data, processing_utils, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/processing_utils.py", line 23, in <module>
from gradio import encryptor, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 416, in <module>
class AsyncRequest:
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 436, in AsyncRequest
client = httpx.AsyncClient()
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1397, in __init__
self._transport = self._init_transport(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 275, in __init__
self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
——————————————————
大佬,报错,求帮忙!
ps:用的是60楼的代码
欢迎光临 SiS001! Board - [第一会所 关闭注册] (http://23.225.172.98/bbs1/) |
Powered by Discuz! 7.2 |