Home

Awesome

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

<div id="image-table"> <table> <tr> <td style="padding:10px"> <img src="media/lion.gif" width="250"/> </td> <td style="padding:10px"> <img src="media/ffhq.gif" width="250"/> </td> <td style="padding:10px"> <img src="media/dog.gif" width="250"/> </td> </tr> </table> </div>

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

https://github.com/skimai/DragGAN/assets/2939753/d38f89ef-721d-4272-bc47-acd643d47072

Setup

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

TODO

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}
}