Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 2.03 KB

INSTALLATION.md

File metadata and controls

43 lines (39 loc) · 2.03 KB

Installation

1. Setup environment

conda create --name lightning-drag python=3.9 pip
conda activate lightning-drag
pip3 install -r requirements.txt

2. Download pretrained models

Download the following models and place them under ./checkpoints

Place the checkpoints as follows:

└── checkpoints
    ├── dreamshaper-8-inpainting
    ├── lcm-lora-sdv1-5
    │   └── pytorch_lora_weights.safetensors
    ├── sd-vae-ft-ema
    │   ├── config.json
    │   ├── diffusion_pytorch_model.bin
    │   └── diffusion_pytorch_model.safetensors
    ├── IP-Adapter/models
    │   ├── image_encoder
    │   └── ip-adapter_sd15.bin
    └── lightning-drag-sd15
        ├── appearance_encoder
        │   ├── config.json
        │   └── diffusion_pytorch_model.safetensors
        ├── point_embedding
        │   └── point_embedding.pt
        └── lightning-drag-sd15-attn.bin

IMPORTANT NOTES

  • Since runwayml/stable-diffusion-inpainting is no longer available, we replace the inpainting checkpoint with Lykon/dreamshaper-8-inpainting without retraining or finetuning. Although it works, the results may not look the same as the one in the paper.
  • To reproduce the results from the paper, you may need to replace the inpainting checkpoint with your own stable-diffusion-inpainting checkpoint.