Alpha-Romeo's picture
first
b0afe49
#!/bin/bash
eval "$($HOME/miniconda3/bin/conda shell.bash hook)"
conda env create -f environment.yaml
conda activate control
python -m ipykernel install --user --name=controlnet
mkdir /tmp/zalando
wget -P /tmp/zalando https://www.dropbox.com/s/10bfat0kg4si1bu/zalando-hd-resized.zip?dl=1
unzip -q /tmp/zalando/zalando-hd-resized.zip?dl=1 -d /tmp/zalando
mkdir /tmp/controlnet/
wget -P /tmp/controlnet https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned.ckpt
python tool_add_control-mask.py /tmp/controlnet/v1-5-pruned.ckpt /tmp/controlnet/control_sd15_ini.ckpt