Spaces:
Runtime error
Runtime error
# converts controlnet state dict saved in diffusers format to original stable diffusion controlnet format that can be used with the A1111 controlnet extension | |
export INPUT_PATH="/home/user/style_controlnet/models/deliberate_v2_animestyler/checkpoint-332228/diffusion_pytorch_model.safetensors" | |
export OUTPUT_PATH="models/A1111_weights/anime_styler-deliberate-v0.1.safetensors" | |
python src/convert_sd.py --model_path="$INPUT_PATH" --checkpoint_path="$OUTPUT_PATH" --is_controlnet --half --to_safetensors |