Home

Awesome

DragGAN

PyPI support

:boom: Colab Demo Awesome-DragGAN InternGPT Demo Local Deployment

Note for Colab, remember to select a GPU via Runtime/Change runtime type (代码执行程序/更改运行时类型).

If you want to upload custom image, please install 1.1.0 via pip install draggan==1.1.0.

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

<p float="left"> <img src="assets/mouse.gif" width="200" /> <img src="assets/nose.gif" width="200" /> <img src="assets/cat.gif" width="200" /> <img src="assets/horse.gif" width="200" /> </p>

How it Work ?

Here is a simple tutorial video showing how to use our implementation.

https://github.com/Zeqiang-Lai/DragGAN/assets/26198430/f1516101-5667-4f73-9330-57fc45754283

Check out the original paper for the backend algorithm and math.

demo

News

:star2: What's New

:star2: Changelog

This project is now a sub-project of InternGPT for interactive image editing. Future updates of more cool tools beyond DragGAN would be added in InternGPT.

Running Locally

Please refer to INSTALL.md.

Citation

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

Acknowledgement

Official DragGANDragGAN-StreamlitStyleGAN2StyleGAN2-pytorchStyleGAN2-AdaStyleGAN-HumanSelf-Distilled-StyleGAN

Welcome to discuss with us and continuously improve the user experience of DragGAN. Reach us with this WeChat QR Code.

<p align="left"><img width="300" alt="image" src="https://github.com/OpenGVLab/DragGAN/assets/26198430/885cb87a-4acc-490d-8a45-96f3ab870611"><img width="300" alt="image" src="https://github.com/OpenGVLab/DragGAN/assets/26198430/e3f0807f-956a-474e-8fd2-1f7c22d73997"></p>