Skip to content

dair-iitd/GraPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraPE : A Generate Plan Edit Framework for Compositional T2I Symthesis

Installation

Setup any environment compatible with the editing-model of your choice. We use PixEdit environment, that supports latest T2I models from diffusers.

Usage

This repository currently supports the following models to be used as different components in GraPE.

  • All T2I Models / Planners and PixEdit is supported by PixEdit environment. Supported Models
  • Adding support for additional model is easy, simply create an Editor class with edit_image method!!

Refer to Demo.ipynb noteboook for example usage!

Benchmarks

The prompts used in T2I-Compbench, Flickr-Bench and ConceptMix are placed in benchmarks directory.

Citation

If you find this repository useful, please consider giving a star ⭐ and citation.

@misc{goswami2024grapegenerateplaneditframeworkcompositional,
      title={GraPE: A Generate-Plan-Edit Framework for Compositional T2I Synthesis}, 
      author={Ashish Goswami and Satyam Kumar Modi and Santhosh Rishi Deshineni and Harman Singh and Prathosh A. P and Parag Singla},
      year={2024},
      eprint={2412.06089},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2412.06089}, 
}

Releases

No releases published

Packages

No packages published