- Notifications
You must be signed in to change notification settings - Fork11
[CVPR 2024] Official implementation of CVPR 2024 paper: "Inversion-Free Image Editing with Natural Language"
License
sled-group/InfEdit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Sihan Xu*, Yidong Huang*, Jiayi Pan, Ziqiao Ma, Joyce Chai
University of Michigan, Ann Arbor
University of California, Berkeley
This code was tested with python 3.9,Pytorch 2.2.1 using pretrained models throughhuggingface / diffusers. Specifically, we implemented our method overLCM andprompt2prompt.
We implemented our method withdiffusers with a similar code structure toprompt2prompt but we modified the code to adapt to newest diffusors version. You can download the requirements using
pip install -r requirements.txt
Online demos
We provide onlinedemo with Gradio app. You can play with the it or clone it to your own device!
Local Gradio demo
You can launch the provided Gradio demo locally with
python app_infedit.py
For further information about the input parameters, please refer to theHandbook.
@article{xu2023infedit,title={Inversion-Free Image Editing with Natural Language},author={Sihan Xu and Yidong Huang and Jiayi Pan and Ziqiao Ma and Joyce Chai},booktitle={Conference on Computer Vision and Pattern Recognition 2024},year={2024}}
We thank the awesome research worksPrompt-to-Prompt,LCM andMasactrl.