Skip to content

StevenShaw1999/RnB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation

[Website]

Environment Setup

Run the following command to set up the environment:

conda create -n RnB python=3.8
conda activate RnB
pip install -r requirements.txt

Grounded Generation with Text-to-image diffusion models

Teaser figure

Framework

Teaser figure

Inference

Teaser figure

Outputs including log file, generated images, config file, are saved to path ./example_output. Detail configuration can be found in the ./conf/base_config.yaml and inference.py. You can set the model_path in ./conf/base_config.yaml as your own path to SD checkpoint.

python inference_RnB.py general.save_path=./example_output 

Acknowledgments

This project is built on the following resources:

  • Layout-guidance: Our code is built upon the previous work on grounded generation, thanks for their awesome codebase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages