RANG1991/Public-Intermediate-Semantics-For-Generation

2

stars

12

commits

Python

primary language

Oct 28, 2024

updated

README

Generating Intermediate Representations for Compositional Text-To-Image Generation

About

For this project, we investigated the use of intermediate representations (e.g. segmentation maps and depth maps) to enhance the performance of Stable Diffusion model. More specifically, we operated in two stages, in the first stage using Stable Diffusion to generate an intermediate representation(s), and in the second stage using ControlNet to produce an image based on these representation(s).

Qualitative results.

qualitative_results

Quantitative results.

quantative_results

The pipeline of our model. In the first step, we used Stable Diffusion to generate single or multiple aligned representation(s). In the second step, we used these representation(s) to generate the final image.

Pipeline_model

The pipeline of our alignment model. To align two representations, two U-Nets of pre-trained Stable Diffusion models were interleaved by adding temporal layers.

Pipeline_alignment_model

Acknowledgments

We used the following resources in our research:
LanguageBind - https://github.com/PKU-YuanGroup/LanguageBind
Vision and Language Transformer (VITL) - https://github.com/dandelin/ViLT
Depth Anything - https://github.com/LiheYoung/Depth-Anything
ControlNet - https://github.com/lllyasviel/ControlNet, https://huggingface.co/thibaud/controlnet-sd21

Contributors

RANG1991

12 commits

RANG1991/Public-Intermediate-Semantics-For-Generation

2

stars

12

commits

Python

primary language

Oct 28, 2024

updated

README

Generating Intermediate Representations for Compositional Text-To-Image Generation

About

For this project, we investigated the use of intermediate representations (e.g. segmentation maps and depth maps) to enhance the performance of Stable Diffusion model. More specifically, we operated in two stages, in the first stage using Stable Diffusion to generate an intermediate representation(s), and in the second stage using ControlNet to produce an image based on these representation(s).

Qualitative results.

qualitative_results

Quantitative results.

quantative_results

The pipeline of our model. In the first step, we used Stable Diffusion to generate single or multiple aligned representation(s). In the second step, we used these representation(s) to generate the final image.

Pipeline_model

The pipeline of our alignment model. To align two representations, two U-Nets of pre-trained Stable Diffusion models were interleaved by adding temporal layers.

Pipeline_alignment_model

Acknowledgments

We used the following resources in our research:
LanguageBind - https://github.com/PKU-YuanGroup/LanguageBind
Vision and Language Transformer (VITL) - https://github.com/dandelin/ViLT
Depth Anything - https://github.com/LiheYoung/Depth-Anything
ControlNet - https://github.com/lllyasviel/ControlNet, https://huggingface.co/thibaud/controlnet-sd21

Contributors

RANG1991

12 commits

Languages

Python

99.8%