Skip to content

[ICME'23, oral] CCLAP: Controllable Chinese Landscape Painting Generation

License

Notifications You must be signed in to change notification settings

Robin-WZQ/CCLAP

Repository files navigation

🖼︎ CCLAP [Paper]

Open in Spaces

Paper Title: "CCLAP: Controllable Chinese Landscape Painting Generation via Latent Diffusion Model"

Conference Accepted: ICME 2023 (oral)

👀 Introduction

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.

📩 Resources Download

Dataset Download

Dataset contains 3560 paintings with corresponding captions.

Models Download

Name Download
Content Generator Hugging face
Style Aggregator Baidu Disk [code:tu8z]

🔨 Results

How to use

  • 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!

📄 Citation

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}}

About

[ICME'23, oral] CCLAP: Controllable Chinese Landscape Painting Generation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages