Skip to content
/ DragGAN Public

Unofficial Implementation of "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold"

License

Notifications You must be signed in to change notification settings

skimai/DragGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold (Unofficial)

This is an unofficial implementation of the paper "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold" by Xingang Pan, Ayush Tewari, Thomas Leimkühler, Lingjie Liu, Abhimitra Meka, and Christian Theobalt.

The UI is built with the Streamlit framework to run as a web app in your browser. GPU-enabled demos are available for Hugging Face Spaces and Colab:

Hugging Face Spaces Colab Demo

demo.mp4

Setup

Follow these steps to run the app in your local environment:

  • Install dependencies: pip install -r requirements.txt
  • Run app: streamlit run app.py

TODO

  • Add Colab demo
  • Add Hugging Face Spaces demo
  • Implement mask reconstruction loss
  • Regularization loss
  • Inversion for real image editing

Acknowledgments

This project is made possible by these works:

Reference

For the complete details about the algorithm please refer to the original paper:

@inproceedings{pan2023draggan,
    title={Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold}, 
    author={Pan, Xingang and Tewari, Ayush, and Leimk{\"u}hler, Thomas and Liu, Lingjie and Meka, Abhimitra and Theobalt, Christian},
    booktitle = {ACM SIGGRAPH 2023 Conference Proceedings},
    year={2023}
}

About

Unofficial Implementation of "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published