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网络表单!