🖼︎ CCLAP [Paper]
Paper Title: "CCLAP: Controllable Chinese Landscape Painting Generation via Latent Diffusion Model"
Conference Accepted: ICME 2023 (oral)
In this work, we propose a controllable Chinese landscape painting generation method named CCLAP, which can generate painting with specific content and style based on Latent Diffusion Model. Specifically, it consists of two cascaded modules, i.e., content generator and style aggregator. The content generator module guarantees the content of generated paintings specific to the input text. While the style aggregator module is to generate paintings of a style corresponding to a reference image. Moreover, a new dataset of Chinese landscape paintings named CLAP is collected for comprehensive evaluation. Both the qualitative and quantitative results demonstrate that our method achieves state-of-the-art performance, especially in artfully-composed and artistic conception.
Dataset contains 3560 paintings with corresponding captions.
Name | Download |
---|---|
Content Generator | Hugging face |
Style Aggregator | Baidu Disk [code:tu8z] |
-
Git clone this repo and pip install the requirements
-
Download the models (i.e., Content Generator and Style Aggregator) and put them into the same folder
Make sure the file structure is: CCLAP PAMA style_image app.py hist_loss.py net.py style_transfer.py utils.py
-
run app.py
python app.py
🤝 Feel free to discuss with us privately!
If you find this project useful in your research, please consider cite:
@INPROCEEDINGS{10219843,
author={Wang, Zhongqi and Zhang, Jie and Ji, Zhilong and Bai, Jinfeng and Shan, Shiguang},
booktitle={2023 IEEE International Conference on Multimedia and Expo (ICME)},
title={CCLAP: Controllable Chinese Landscape Painting Generation Via Latent Diffusion Model},
year={2023},
pages={2117-2122},
doi={10.1109/ICME55011.2023.00362}}