# 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.

- Kind: Generative AI
- Period: Feb 2025 to May 2025 (completed)
- Repository: https://github.com/AnkitGole007/Drag-A-GAN

## 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.

## Stack

StyleGAN2, DragGAN, GANs

## Image

![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.](https://ankitgole.dev/projects/drag-a-gan/stylegan2-samples.webp)

Canonical page: https://ankitgole.dev/projects/drag-a-gan. This markdown: https://ankitgole.dev/md/projects/drag-a-gan.md. Written by Ankit Gole; generated from the site content model, last updated 2026-11-23.
