cog style transfer
1.0.0
重複運行此模型:
https://replate.com/fofr/style-transfer
或在comfyui中運行它:
https://github.com/fofr/cog-style-transfer/blob/main/style-transfer-ui.json
您需要以下自定義節點:
克隆這個存儲庫:
git clone --recurse-submodules https://github.com/fofr/cog-style-transfer.git && cd cog-style-transfer/ComfyUI創建Python Venv並激活
python3 -m venv . && source bin/activate安裝所需的依賴項
pip install -r requirements.txt將Dreamshaperxl_lightningdpmsde.safetensors下載到型號/檢查點
wget https://huggingface.co/gingerlollipopdx/ModelsXL/resolve/main/dreamshaperXL_lightningDPMSDE.safetensors ? download=true -O models/checkpoints/dreamshaperXL_lightningDPMSDE.safetensors下載clip-vit-h-14-laion2b-s32b-b79k.safetensors to Models/clip_vision
wget https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/model.safetensors ? download=true -O models/checkpoints/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors下載ip-adapter-plus_sdxl_vit-h.safetensors到型號/ipadapter
wget https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors ? download=true -O models/ipadapter/ip-adapter-plus_sdxl_vit-h.safetensors下載Depth-Zoe-Xl-v1.0-controlnet.safetensor
wget https://huggingface.co/SargeZT/controlnet-sd-xl-1.0-depth-16bit-zoe/resolve/main/depth-zoe-xl-v1.0-controlnet.safetensors ? download=true -O models/controlnet/depth-zoe-xl-v1.0-controlnet.safetensors運行以下腳本以安裝所有自定義節點:
./scripts/clone_plugins.sh最後,安裝它,運行並享受它!
python3 main.pysudo cog run -p 8188 bash運行此命令啟動COG容器,讓您訪問它
cd ComfyUI/
python main.py --listen 0.0.0.0http://<gpu-machines-ip>:8188當您獲得http://<gpu-machines-ip>:8188時,您會看到經典的comfyui網絡表單!