Skip to content

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

Notifications You must be signed in to change notification settings

skylinemusiccds/DragGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragGAN

Wild implementation of DragGAN

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

demo

Features

  • Support movable region.
  • Mutliple handle points.
  • Automatically download stylegan2 checkpoint.
  • Gradio Demo.
  • Workable version.

Demo video

demo.mp4

Usage

Ensure you have PyTorch, Gradio, and tqdm installed.

pip install -r requirements.txt

Lanuch the Gradio demo

python gradio_app.py

If you have any issuse for downloading the checkpoint, you could mannuly download it from here and put it into the folder checkpoints.

Acknowledgement

Official DragGANStyleGAN2StyleGAN2-pytorch

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.3%
  • Cuda 21.8%
  • C++ 3.9%