# Requirements

```
accelerate=1.2.1
huggingface-hub=0.27.0
networkx=3.4.2
numpy=2.2.1
python=3.10.16
requests=2.32.3
tokenizers=0.21.0
torch=2.5.1
torchvision=0.20.1
tqdm=4.67.1
transformers=4.47.1
```

And you need to install the `diffusers`:

```
git clone https://github.com/huggingface/diffusers
cd diffusers
pip install .
```

# Dataset

Get the training data from [here](https://github.com/google/dreambooth/tree/main/dataset)

# Usage

After that, modify the `sdxl_aurora.sh` to your own path.

`--instance_prompt`: the prompt for the input images

`--validation_prompt`: the prompt for validation

**Reproducibility** Just use following command to finetune and generate the images:

```
bash sdxl_aurora.sh
```


# Acknowledge

This code is based on the [MoSLoRA](https://github.com/wutaiqiang/MoSLoRA/tree/main/subject_driven_generation), we thank for their efforts.
