qinghew / CharacterFactory

🔥 CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models
https://qinghew.github.io/CharacterFactory/
Apache License 2.0
194 stars 14 forks source link
## CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models 🤗[[Gradio Demo](https://huggingface.co/spaces/DecoderWQH666/CharacterFactory)]🔥   [[Paper](https://arxiv.org/abs/2404.15677)]   [[Project Page](https://qinghew.github.io/CharacterFactory/)]

News

More results can be found in our Project Page and Paper.


Getting Started

Installation

Train

We have already provided the pretrained weights in training_weight.

  python train.py --experiment_name="normal_GAN"

The trained IDE-GAN model will be saved in training_weight.

Test

First set your SD-2.1 path in the test files.

The results will be generated in test_results/{index}/.

TODOs

Citation

@article{wang2024characterfactory,
  title={CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models},
  author={Wang, Qinghe and Li, Baolu and Li, Xiaomin and Cao, Bing and Ma, Liqian and Lu, Huchuan and Jia, Xu},
  journal={arXiv preprint arXiv:2404.15677},
  year={2024}
}