{"id":13487858,"url":"https://github.com/sled-group/InfEdit","last_synced_at":"2025-03-27T23:31:57.866Z","repository":{"id":211028247,"uuid":"727004043","full_name":"sled-group/InfEdit","owner":"sled-group","description":"[CVPR 2024] Official implementation of CVPR 2024 paper: \"Inversion-Free Image Editing with Natural Language\"","archived":false,"fork":false,"pushed_at":"2024-05-28T17:19:17.000Z","size":273990,"stargazers_count":281,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-30T23:35:57.513Z","etag":null,"topics":["attention-is-all-you-need","consistency-models","diffusion-models","image-edit","inversion","prompt-to-prompt"],"latest_commit_sha":null,"homepage":"https://sled-group.github.io/InfEdit/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sled-group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-04T01:22:30.000Z","updated_at":"2024-10-30T06:18:36.000Z","dependencies_parsed_at":"2024-05-28T19:54:35.339Z","dependency_job_id":"077faafb-bd0e-454e-974a-cb19d47ab091","html_url":"https://github.com/sled-group/InfEdit","commit_stats":null,"previous_names":["sled-group/infedit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sled-group%2FInfEdit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sled-group%2FInfEdit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sled-group%2FInfEdit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sled-group%2FInfEdit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sled-group","download_url":"https://codeload.github.com/sled-group/InfEdit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944020,"owners_count":20697945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attention-is-all-you-need","consistency-models","diffusion-models","image-edit","inversion","prompt-to-prompt"],"created_at":"2024-07-31T18:01:05.222Z","updated_at":"2025-03-27T23:31:52.842Z","avatar_url":"https://github.com/sled-group.png","language":"Python","readme":"# Inversion-Free Image Editing with Natural Language\n\n\n### [Project Page](https://sled-group.github.io/InfEdit/) | [Paper](https://arxiv.org/abs/2312.04965) | [🤗Demo🔥](https://huggingface.co/spaces/sled-umich/InfEdit) | [Handbook](https://github.com/sled-group/InfEdit/tree/website)\n\nSihan Xu*, Yidong Huang*, Jiayi Pan, Ziqiao Ma, Joyce Chai  \nUniversity of Michigan, Ann Arbor  \nUniversity of California, Berkeley\n\n![icon](infedit_gif.gif)\n\n## Setup\nThis code was tested with python 3.9, [Pytorch](https://pytorch.org/) 2.2.1 using pretrained models through [huggingface / diffusers](https://github.com/huggingface/diffusers#readme). Specifically, we implemented our method over [LCM](https://huggingface.co/docs/diffusers/api/pipelines/latent_consistency_models) and [prompt2prompt](https://github.com/google/prompt-to-prompt). \n\n## Quickstart\n\n### Requirements\nWe implemented our method with [diffusers](https://github.com/huggingface/diffusers#readme) with a similar code structure to [prompt2prompt](https://github.com/google/prompt-to-prompt) but we modified the code to adapt to newest diffusors version. You can download the requirements using \n```base\npip install -r requirements.txt\n```\n\n\n### Demos\n\n\n\n\n**Online demos**\n\nWe provide online [demo](https://huggingface.co/spaces/sled-umich/InfEdit) with Gradio app. You can play with the it or clone it to your own device!\n\n**Local Gradio demo**\n\nYou can launch the provided Gradio demo locally with\n\n```bash\npython app_infedit.py\n```\n\nFor further information about the input parameters, please refer to the [Handbook](https://github.com/sled-group/InfEdit/tree/website).\n\n## Citation\n\n```bibtex\n@article{xu2023infedit,\n  title={Inversion-Free Image Editing with Natural Language}, \n  author={Sihan Xu and Yidong Huang and Jiayi Pan and Ziqiao Ma and Joyce Chai},\n  booktitle={Conference on Computer Vision and Pattern Recognition 2024},\n  year={2024}\n}\n```\n\n## Acknowledgements\n\nWe thank the awesome research works [Prompt-to-Prompt](https://github.com/google/prompt-to-prompt), [LCM](https://huggingface.co/docs/diffusers/api/pipelines/latent_consistency_models) and [Masactrl](https://github.com/TencentARC/MasaCtrl).\n","funding_links":[],"categories":["Diffusion Models Inversion"],"sub_categories":["Train-Free"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsled-group%2FInfEdit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsled-group%2FInfEdit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsled-group%2FInfEdit/lists"}