Skip to content

Drag-A-GAN: a DragGAN reimplementation

Point-drag image editing on StyleGAN2

A reimplementation of the DragGAN paper: StyleGAN2-based image editing where you drag points on a generated image to reshape it.

Figures

Figure

Ten 128-pixel samples from the project's StyleGAN2 generator, trained on a clothing image set, as saved by generate_image.py in the repo. These are generator samples, not drag edits.
Ten 128-pixel samples from the project's StyleGAN2 generator, trained on a clothing image set, as saved by generate_image.py in the repo. These are generator samples, not drag edits.

Fit. Plus and minus keys zoom, arrow keys pan

Problem

DragGAN edits a generated image by dragging points on it. The project set out to rebuild that method from the paper.

Approach

A reimplementation of DragGAN's point-drag editing on a StyleGAN2 generator, written up in a final project report.