JiauZhang/DragGAN
Implementation of DragGAN for interactive point-based manipulation of images using StyleGAN2 generative models.

Not currently ranked — collecting fresh signals.
star history
This repository implements DragGAN, enabling users to drag points on an image to deform it while staying on the generative manifold learned by StyleGAN2. The system optimizes latent codes to move handle points toward target positions while enforcing mask constraints. It includes a GUI built with DearPyGUI for interactive manipulation and supports pre-trained FFHQ models.
Frequently asked
- What is JiauZhang/DragGAN?
- Implementation of DragGAN for interactive point-based manipulation of images using StyleGAN2 generative models.
- Is DragGAN open source?
- Yes — JiauZhang/DragGAN is open source, released under the MIT license.
- What language is DragGAN written in?
- JiauZhang/DragGAN is primarily written in Python.
- How popular is DragGAN?
- JiauZhang/DragGAN has 2.1k stars on GitHub.
- Where can I find DragGAN?
- JiauZhang/DragGAN is on GitHub at https://github.com/JiauZhang/DragGAN.